From 6bd8c14466b0787f9675279727efdff93bced7bb Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 17 Mar 2011 21:58:44 -0700 Subject: [PATCH] * lisp.h (child_setup): Now NO_RETURN unless DOS_NT. This should get cleaned up, so that child_setup has the same signature on all platforms. --- src/ChangeLog | 4 ++++ src/lisp.h | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1d27999b49d..da9676233e0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2011-03-18 Paul Eggert + * lisp.h (child_setup): Now NO_RETURN unless DOS_NT. + This should get cleaned up, so that child_setup has the + same signature on all platforms. + * callproc.c (call_process_cleanup): Now static. (relocate_fd): Rename locals to avoid shadowing. diff --git a/src/lisp.h b/src/lisp.h index 283b0989c1d..645b82c80cf 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -3233,7 +3233,11 @@ extern void syms_of_process (void); extern void setup_process_coding_systems (Lisp_Object); EXFUN (Fcall_process, MANY); -extern int child_setup (int, int, int, char **, int, Lisp_Object); +extern int child_setup (int, int, int, char **, int, Lisp_Object) +#ifndef DOS_NT + NO_RETURN +#endif + ; extern void init_callproc_1 (void); extern void init_callproc (void); extern void set_initial_environment (void); -- 2.39.2