X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lib-src%2Fgnuslib.c;h=f0226e69818e6be2e052513af5110d5af65f565c;hb=91e3a45051580d5166f02811bb7a67070cd8cdd6;hp=c16aa31051ae56af63de9518a204be9df5ad32b0;hpb=3e447015251ce6dcde843cbed10d9033d5538622;p=chise%2Fxemacs-chise.git diff --git a/lib-src/gnuslib.c b/lib-src/gnuslib.c index c16aa31..f0226e6 100644 --- a/lib-src/gnuslib.c +++ b/lib-src/gnuslib.c @@ -43,7 +43,7 @@ static int connect_to_ipc_server (void); static int connect_to_unix_server (void); #endif #ifdef INTERNET_DOMAIN_SOCKETS -static int connect_to_internet_server (char *serverhost, u_short port); +static int connect_to_internet_server (char *serverhost, unsigned short port); #endif /* On some systems, e.g. DGUX, inet_addr returns a 'struct in_addr'. */ @@ -313,7 +313,7 @@ static Xauth *server_xauth = NULL; descriptor for server if successful. */ static int -connect_to_internet_server (char *serverhost, u_short port) +connect_to_internet_server (char *serverhost, unsigned short port) { int s; /* connected socket descriptor */ struct servent *sp; /* pointer to service information */