changeset 25746:8690532ba294

(main): Remove unused variables. (sort_args, Fkill_emacs, Fkill_emacs): Ditto. (toplevel) [HAVE_UNISTD_H]: Include unistd.h.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 16 Sep 1999 20:19:54 +0000
parents 34d057fe496f
children 062f4c69ff56
files src/emacs.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Thu Sep 16 20:19:52 1999 +0000
+++ b/src/emacs.c	Thu Sep 16 20:19:54 1999 +0000
@@ -32,6 +32,10 @@
 #include <ssdef.h>
 #endif
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #ifdef BSD_SYSTEM
 #include <sys/ioctl.h>
 #endif
@@ -1071,7 +1075,6 @@
      to run until we've recognized this argument.  */
   {
     char *displayname = 0;
-    int i;
     int count_before = skip_args;
 
     /* Skip any number of -d options, but only use the last one.  */
@@ -1485,7 +1488,6 @@
   int incoming_used = 1;
   int from;
   int i;
-  int end_of_options = argc;
 
   /* Categorize all the options,
      and figure out which argv elts are option arguments.  */
@@ -1627,8 +1629,6 @@
   (arg)
      Lisp_Object arg;
 {
-  Lisp_Object hook, hook1;
-  int i;
   struct gcpro gcpro1;
 
   GCPRO1 (arg);