]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove redundant include of unistd.h, stdlib.h. Use
authorDave Love <fx@gnu.org>
Thu, 12 Jun 2003 22:14:31 +0000 (22:14 +0000)
committerDave Love <fx@gnu.org>
Thu, 12 Jun 2003 22:14:31 +0000 (22:14 +0000)
HAVE_DECL_SYS_SIGLIST, not SYS_SIGLIST_DECLARED.

src/ChangeLog
src/sysdep.c

index d09e65606da9b6f372bca9e935b0ac8bb64da04c..adbf57396c22197809320b2393efa1ee0502322d 100644 (file)
@@ -1,3 +1,10 @@
+2003-06-12  Dave Love  <fx@gnu.org>
+
+       * alloca.c (alloca): Declare arg as size_t.
+
+       * sysdep.c: Remove redundant include of unistd.h, stdlib.h.  Use
+       HAVE_DECL_SYS_SIGLIST, not SYS_SIGLIST_DECLARED.
+
 2003-06-11  Dave Love  <fx@gnu.org>
 
        * search.c (shrink_regexp_cache): Use xrealloc.
index cb03ae502bb5ad5026ab9cae0bb68cfbb1d8f846..8d9d1beb51970187bc54d77580177c944f2a89b8 100644 (file)
@@ -85,15 +85,6 @@ static int delete_exited_processes;
 #include <sys/stat.h>
 #include <errno.h>
 
-/* Get _POSIX_VDISABLE, if it is available.  */
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
 #ifdef HAVE_SETPGID
 #if !defined (USG) || defined (BSD_PGRPS)
 #undef setpgrp
@@ -2845,7 +2836,7 @@ sys_sigsetmask (sigset_t new_mask)
 
 #endif /* POSIX_SIGNALS */
 \f
-#if !defined HAVE_STRSIGNAL && !defined SYS_SIGLIST_DECLARED
+#if !defined HAVE_STRSIGNAL && !HAVE_DECL_SYS_SIGLIST
 static char *my_sys_siglist[NSIG];
 # ifdef sys_siglist
 #  undef sys_siglist
@@ -2861,7 +2852,7 @@ init_signals ()
   sigfillset (&full_mask);
 #endif
 
-#if !defined HAVE_STRSIGNAL && !defined SYS_SIGLIST_DECLARED
+#if !defined HAVE_STRSIGNAL && !HAVE_DECL_SYS_SIGLIST
   if (! initialized)
     {
 # ifdef SIGABRT
@@ -3021,7 +3012,7 @@ init_signals ()
       sys_siglist[SIGXFSZ] = "File size limit exceeded";
 # endif
     }
-#endif /* !defined HAVE_STRSIGNAL && !defined SYS_SIGLIST_DECLARED */
+#endif /* !defined HAVE_STRSIGNAL && !defined HAVE_DECL_SYS_SIGLIST */
 }
 \f
 #ifndef HAVE_RANDOM