summaryrefslogtreecommitdiff
path: root/netlib.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-09-07 04:45:51 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-09-07 04:45:51 -0400
commitd6312e3de44a1c3b9ee1d15ac6c30b2d06d09e6e (patch)
treec5fe773c1d6487f2e7e599cb543c5781dec2e61c /netlib.c
parent606a688de6b76dba3a8f7b153eb1fddca51a86c3 (diff)
downloadgpsd-d6312e3de44a1c3b9ee1d15ac6c30b2d06d09e6e.tar.gz
Complete change from int to socket_t for sockets.
Diffstat (limited to 'netlib.c')
-rw-r--r--netlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib.c b/netlib.c
index 82f0e3b2..3c3aa66d 100644
--- a/netlib.c
+++ b/netlib.c
@@ -174,7 +174,7 @@ socket_t netlib_localsocket(const char *sockfile, int socktype)
}
}
-char *netlib_sock2ip(int fd)
+char *netlib_sock2ip(socket_t fd)
/* retrieve the IP address corresponding to a socket */
{
sockaddr_t fsin;