summaryrefslogtreecommitdiff
path: root/lib-src/emacsclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/emacsclient.c')
-rw-r--r--lib-src/emacsclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 76d0b4e54d9..303ad654030 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -55,6 +55,7 @@ main (argc, argv)
extern char *strerror ();
extern int errno;
+int
main (argc, argv)
int argc;
char **argv;
@@ -167,7 +168,7 @@ main (argc, argv)
while (str = fgets (string, BUFSIZ, out))
printf ("%s", str);
- exit (0);
+ return 0;
}
#else /* This is the SYSV IPC section */