summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/sock.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-07-22 13:42:56 +0000
committerBenny Prijono <bennylp@teluu.com>2006-07-22 13:42:56 +0000
commitca0e9bd20df27bb62875130a0db513256c92e75a (patch)
tree76e9d620d2826839286c2b6216c9d2d5df3ad44d /pjlib/include/pj/sock.h
parent26e9af9bcbc271bc373dd9f106fd7b143efe7474 (diff)
Changed all public header files to compile correctly when -ansi and -pedantic is used, also when g++ is used
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@622 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/sock.h')
-rw-r--r--pjlib/include/pj/sock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pjlib/include/pj/sock.h b/pjlib/include/pj/sock.h
index b5a9dcf5..a6e760aa 100644
--- a/pjlib/include/pj/sock.h
+++ b/pjlib/include/pj/sock.h
@@ -109,7 +109,7 @@ typedef enum pj_sock_msg_flag
{
PJ_MSG_OOB = 0x01, /**< Out-of-band messages. */
PJ_MSG_PEEK = 0x02, /**< Peek, don't remove from buffer. */
- PJ_MSG_DONTROUTE = 0x04, /**< Don't route. */
+ PJ_MSG_DONTROUTE = 0x04 /**< Don't route. */
} pj_sock_msg_flag;
@@ -123,7 +123,7 @@ typedef enum pj_socket_sd_type
PJ_SD_SEND = 1, /**< No more sending. */
PJ_SHUT_WR = 1, /**< Alias for SD_SEND. */
PJ_SD_BOTH = 2, /**< No more send and receive. */
- PJ_SHUT_RDWR = 2, /**< Alias for SD_BOTH. */
+ PJ_SHUT_RDWR = 2 /**< Alias for SD_BOTH. */
} pj_socket_sd_type;
@@ -379,7 +379,7 @@ PJ_INLINE(pj_in_addr) pj_sockaddr_in_get_addr(const pj_sockaddr_in *addr)
pj_in_addr in_addr;
in_addr.s_addr = pj_ntohl(addr->sin_addr.s_addr);
return in_addr;
-};
+}
/**
* Set the IP address of an Internet socket address.