summaryrefslogtreecommitdiff
path: root/lib-src/emacsclient.c
diff options
context:
space:
mode:
authorDavid J. MacKenzie <djm@gnu.org>1994-10-12 20:21:51 +0000
committerDavid J. MacKenzie <djm@gnu.org>1994-10-12 20:21:51 +0000
commit726a98937fa78acd8dce58107c6b5e6dda050e0d (patch)
tree459bf1534b06e8b13e71ef68a3b8053a0a8e554b /lib-src/emacsclient.c
parent47060f93e4a3c6763cbd14dd5b65246456f27ac6 (diff)
downloademacs-726a98937fa78acd8dce58107c6b5e6dda050e0d.tar.gz
Eliminate some -Wall warnings.
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 */