aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann1999-09-16 20:19:54 +0000
committerGerd Moellmann1999-09-16 20:19:54 +0000
commitcda4a5fd20fef89119bebeb5e8b1b70d97c07b54 (patch)
tree887c7e30f434586e6f6e2426f65eefd32602227c
parentb8e8eeb646e9ddb77469948f74eeda98147e2143 (diff)
downloademacs-cda4a5fd20fef89119bebeb5e8b1b70d97c07b54.tar.gz
emacs-cda4a5fd20fef89119bebeb5e8b1b70d97c07b54.zip
(main): Remove unused variables.
(sort_args, Fkill_emacs, Fkill_emacs): Ditto. (toplevel) [HAVE_UNISTD_H]: Include unistd.h.
-rw-r--r--src/emacs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emacs.c b/src/emacs.c
index f4adb3795c3..8d105289a95 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -32,6 +32,10 @@ Boston, MA 02111-1307, USA. */
32#include <ssdef.h> 32#include <ssdef.h>
33#endif 33#endif
34 34
35#ifdef HAVE_UNISTD_H
36#include <unistd.h>
37#endif
38
35#ifdef BSD_SYSTEM 39#ifdef BSD_SYSTEM
36#include <sys/ioctl.h> 40#include <sys/ioctl.h>
37#endif 41#endif
@@ -1071,7 +1075,6 @@ the Bugs section of the Emacs manual or the file BUGS.\n", argv[0]);
1071 to run until we've recognized this argument. */ 1075 to run until we've recognized this argument. */
1072 { 1076 {
1073 char *displayname = 0; 1077 char *displayname = 0;
1074 int i;
1075 int count_before = skip_args; 1078 int count_before = skip_args;
1076 1079
1077 /* Skip any number of -d options, but only use the last one. */ 1080 /* Skip any number of -d options, but only use the last one. */
@@ -1485,7 +1488,6 @@ sort_args (argc, argv)
1485 int incoming_used = 1; 1488 int incoming_used = 1;
1486 int from; 1489 int from;
1487 int i; 1490 int i;
1488 int end_of_options = argc;
1489 1491
1490 /* Categorize all the options, 1492 /* Categorize all the options,
1491 and figure out which argv elts are option arguments. */ 1493 and figure out which argv elts are option arguments. */
@@ -1627,8 +1629,6 @@ all of which are called before Emacs is actually killed.")
1627 (arg) 1629 (arg)
1628 Lisp_Object arg; 1630 Lisp_Object arg;
1629{ 1631{
1630 Lisp_Object hook, hook1;
1631 int i;
1632 struct gcpro gcpro1; 1632 struct gcpro gcpro1;
1633 1633
1634 GCPRO1 (arg); 1634 GCPRO1 (arg);