aboutsummaryrefslogtreecommitdiffstats
path: root/src/syswait.h
diff options
context:
space:
mode:
authorEli Zaretskii2013-09-05 11:01:04 +0300
committerEli Zaretskii2013-09-05 11:01:04 +0300
commit41306318777a942420bc4feadbfacf662ea179dc (patch)
tree669e5cca02f95d6064ce73c0d3fbbf91b8c8b563 /src/syswait.h
parent141f1ff7a40cda10f0558e891dd196a943a5082e (diff)
parent257b3b03cb1cff917e0b3b7832ad3eab5b59f257 (diff)
downloademacs-41306318777a942420bc4feadbfacf662ea179dc.tar.gz
emacs-41306318777a942420bc4feadbfacf662ea179dc.zip
Merge from trunk after a lot of time.
Diffstat (limited to 'src/syswait.h')
-rw-r--r--src/syswait.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/syswait.h b/src/syswait.h
index aea9ea6e588..4ae9129d7ed 100644
--- a/src/syswait.h
+++ b/src/syswait.h
@@ -1,5 +1,5 @@
1/* Define wait system call interface for Emacs. 1/* Define wait system call interface for Emacs.
2 Copyright (C) 1993-1995, 2000-2012 Free Software Foundation, Inc. 2 Copyright (C) 1993-1995, 2000-2013 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -23,6 +23,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23#ifndef EMACS_SYSWAIT_H 23#ifndef EMACS_SYSWAIT_H
24#define EMACS_SYSWAIT_H 24#define EMACS_SYSWAIT_H
25 25
26#include <stdbool.h>
26#include <sys/types.h> 27#include <sys/types.h>
27 28
28#ifdef HAVE_SYS_WAIT_H /* We have sys/wait.h with POSIXoid definitions. */ 29#ifdef HAVE_SYS_WAIT_H /* We have sys/wait.h with POSIXoid definitions. */
@@ -51,9 +52,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
51#define WTERMSIG(status) ((status) & 0x7f) 52#define WTERMSIG(status) ((status) & 0x7f)
52#endif 53#endif
53 54
54#undef WRETCODE 55/* Defined in sysdep.c. */
55#define WRETCODE(status) WEXITSTATUS (status) 56extern void wait_for_termination (pid_t, int *, bool);
56 57extern pid_t child_status_changed (pid_t, int *, int);
57 58
58#endif /* EMACS_SYSWAIT_H */ 59#endif /* EMACS_SYSWAIT_H */
59