diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2008-08-18 07:10:40 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2008-08-18 07:10:40 +0000 |
commit | ae926b8165e00af9b12e309bfb1a4b041f6c2388 (patch) | |
tree | f26fd6e8eccf146ccb71a01bd2e925b3251cd017 /netlib.c | |
parent | 643be0dd49dcd201d17236d64706bc0e83f39008 (diff) | |
download | gpsd-ae926b8165e00af9b12e309bfb1a4b041f6c2388.tar.gz |
C syntax fix...
...work around declarations after statements by putting this inside
its own scope. pacifies gcc2...
Diffstat (limited to 'netlib.c')
-rw-r--r-- | netlib.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -70,10 +70,12 @@ int netlib_connectsock(const char *host, const char *service, const char *protoc } #ifdef IPTOS_LOWDELAY + { int opt = IPTOS_LOWDELAY; /*@ -unrecog @*/ (void)setsockopt(s, IPPROTO_IP, IP_TOS, &opt, sizeof opt); /*@ +unrecog @*/ + } #endif #ifdef TCP_NODELAY if (type == SOCK_STREAM) |