From ca9c056758a507f1508933de24d2410188b978fb Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 22 Nov 1999 08:19:51 +0000 Subject: * callproc.c (strerror): Remove decl. * fileio.c (strerror): Likewise. * process.c (strerror): Likewise. * emacs.c (strerror): Likewise. (Vsystem_messages_locale): Renamed from Vmessages_locale. All uses changed. (Vprevious_system_messages_locale): Likewise, from Vprevious_messages_locale. (Vsystem_time_locale): Likewise, from Vtime_locale. (Vprevious_system_time_locale): Likewise, from Vprevious_time_locale. (ABORT_RETURN_TYPE): New macro. (abort): Return type is now ABORT_RETURN_TYPE. (main): Always invoke init_signals, even if POSIX_SIGNALS is not defined. (syms_of_emacs): messages-locale -> system-messages-locale, previous-messages-locale -> previous-system-messages-locale, time-locale -> system-time-locale, previous-time-locale -> previous-system-time-locale. * gmalloc.c (PP, __ptr_t): Assume ANSI C if STDC_HEADERS is defined. (const): Do not define; that's config.h's job. (): Include if HAVE_LIMITS_H is defined. (CHAR_BIT): Move test for definedness outside of limits.h condition. (): Include if STDC_HEADERS is defined. (FREE_RETURN_TYPE): New macro. (free): Return type is now FREE_RETURN_TYPE. * lisp.h (synchronize_system_time_locale): Renamed from synchronize_time_locale. All uses changed. (synchronize_system_messages_locale): Likewise, from synchronize_messages_locale. * process.c (sys_siglist): Remove. * syntax.c (scan_sexps_forward): Use abort, not assert. * sysdep.c (my_sys_siglist): New var. (sys_siglist): New macro. Remove old initialized vars of same name. (init_signals): Initialize sys_siglist. * xfns.c (abort): Remove decl; stdlib.h now does this. --- src/callproc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/callproc.c') diff --git a/src/callproc.c b/src/callproc.c index 5ea59bf4629..e1d40b35055 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -25,7 +25,6 @@ Boston, MA 02111-1307, USA. */ #include extern int errno; -extern char *strerror (); /* Define SIGCHLD as an alias for SIGCLD. */ @@ -560,7 +559,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") synch_process_retcode = pid; if (synch_process_retcode < 0) /* means it couldn't be exec'ed */ { - synchronize_messages_locale (); + synchronize_system_messages_locale (); synch_process_death = strerror (errno); } @@ -588,7 +587,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") synch_process_retcode = pid; if (synch_process_retcode < 0) /* means it couldn't be exec'ed */ { - synchronize_messages_locale (); + synchronize_system_messages_locale (); synch_process_death = strerror (errno); } -- cgit v1.2.1