]> git.eshelyaron.com Git - emacs.git/commitdiff
[__GNU_LIBRARY__]: Use size_t for fromlen.
authorKarl Heuer <kwzh@gnu.org>
Mon, 15 Jul 1996 21:26:39 +0000 (21:26 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 15 Jul 1996 21:26:39 +0000 (21:26 +0000)
lib-src/emacsserver.c

index 05449bf6105ff04c909ac1f981748cb01cbecc3b..3d4d4cf99375e55b1094647c4c1ee9f93d4ed078 100644 (file)
@@ -81,10 +81,16 @@ extern int errno;
 #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];