changeset 15682:9f7228c75a4b

[__GNU_LIBRARY__]: Use size_t for fromlen.
author Karl Heuer <kwzh@gnu.org>
date Mon, 15 Jul 1996 21:26:39 +0000
parents b0652f55a85d
children 5f9426e991a3
files lib-src/emacsserver.c
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/emacsserver.c	Mon Jul 15 21:25:56 1996 +0000
+++ b/lib-src/emacsserver.c	Mon Jul 15 21:26:39 1996 +0000
@@ -81,10 +81,16 @@
 #define FD_ZERO(p) (*(p) = 0)
 #endif /* no FD_SET */
 
+int
 main ()
 {
   char system_name[32];
-  int s, infd, fromlen;
+  int s, infd;
+#ifdef __GNU_LIBRARY__
+  size_t fromlen;
+#else
+  int fromlen;
+#endif
   struct sockaddr_un server, fromunix;
   char *homedir;
   char *str, string[BUFSIZ], code[BUFSIZ];