svn commit: trunk/uClibc/libc/inet/rpc
vapier at uclibc.org
vapier at uclibc.org
Sun Jan 29 16:05:20 UTC 2006
Author: vapier
Date: 2006-01-29 08:05:19 -0800 (Sun, 29 Jan 2006)
New Revision: 13676
Log:
sync comment with glibc and dont include sys/socket.h since we dont use socket()
Modified:
trunk/uClibc/libc/inet/rpc/pm_getmaps.c
Changeset:
Modified: trunk/uClibc/libc/inet/rpc/pm_getmaps.c
===================================================================
--- trunk/uClibc/libc/inet/rpc/pm_getmaps.c 2006-01-29 16:01:23 UTC (rev 13675)
+++ trunk/uClibc/libc/inet/rpc/pm_getmaps.c 2006-01-29 16:05:19 UTC (rev 13676)
@@ -42,7 +42,6 @@
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h>
-#include <sys/socket.h>
#include <netdb.h>
#include <stdbool.h>
#include <stdio.h>
@@ -70,6 +69,8 @@
minutetimeout.tv_sec = 60;
minutetimeout.tv_usec = 0;
address->sin_port = htons (PMAPPORT);
+
+ /* Don't need a reserved port to get ports from the portmapper. */
client = clnttcp_create (address, PMAPPROG,
PMAPVERS, &socket, 50, 500);
if (client != (CLIENT *) NULL)
More information about the uClibc-cvs
mailing list