# HG changeset patch # User Gerd Moellmann # Date 937513194 0 # Node ID 8690532ba294e6c9a650aadc7954ad63ad2e33bb # Parent 34d057fe496f7b9480d1ddf19ee43f426d736338 (main): Remove unused variables. (sort_args, Fkill_emacs, Fkill_emacs): Ditto. (toplevel) [HAVE_UNISTD_H]: Include unistd.h. diff -r 34d057fe496f -r 8690532ba294 src/emacs.c --- 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 #endif +#ifdef HAVE_UNISTD_H +#include +#endif + #ifdef BSD_SYSTEM #include #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);