summaryrefslogtreecommitdiff
path: root/lib-src/emacsserver.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-15 21:26:39 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-15 21:26:39 +0000
commitbf3121f325e7602846677cfb7e0f04905a2883b2 (patch)
treebad8a3c607758757f2c6cc348b4105d9b47a247f /lib-src/emacsserver.c
parent49cae071cd06977fb321ceb73e4d47d0b4e09eb8 (diff)
downloademacs-bf3121f325e7602846677cfb7e0f04905a2883b2.tar.gz
[__GNU_LIBRARY__]: Use size_t for fromlen.
Diffstat (limited to 'lib-src/emacsserver.c')
-rw-r--r--lib-src/emacsserver.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib-src/emacsserver.c b/lib-src/emacsserver.c
index 05449bf6105..3d4d4cf9937 100644
--- a/lib-src/emacsserver.c
+++ b/lib-src/emacsserver.c
@@ -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];