summaryrefslogtreecommitdiff
path: root/src/process.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-06-03 11:29:30 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2013-06-03 11:29:30 -0700
commit3d5ee10aa258a500e0b70b5eabe9d58cb3ab051e (patch)
tree37d030ec632685a294eb351851fdad8ce41800b0 /src/process.h
parent068922a2973033ea826b458a17f3e06cf6b44299 (diff)
downloademacs-3d5ee10aa258a500e0b70b5eabe9d58cb3ab051e.tar.gz
Fix minor problems found by static checking.
* data.c (pure_write_error): Use xsignal2, not Fsignal, as Fsignal might return. * eval.c (set_backtrace_debug_on_exit): Now static. (backtrace_p, backtrace_top, backtrace_next, record_in_backtrace): No longer inline. EXTERN_INLINE is needed only for functions defined in .h files. Reindent function header as per GNU style. (backtrace_p, backtrace_top, backtrace_next): Mark EXTERNALLY_VISIBLE so they don't get optimized away by the compiler or linker. Add extern decls to pacify gcc -Wall. * frame.c, frame.h (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Now static. * frame.c (free_monitors): Define only on platforms that need it. * nsterm.m (ns_term_init): * process.c (catch_child_signal): Don't worry about whether SIGCHLD is defined, as SIGCHLD is defined on all porting targets these days. * process.c, process.h (catch_child_signal): Make it extern only if NS_IMPL_GNUSTEP is defined.
Diffstat (limited to 'src/process.h')
-rw-r--r--src/process.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h
index 9455df18beb..0c4e17e68cf 100644
--- a/src/process.h
+++ b/src/process.h
@@ -217,6 +217,8 @@ extern void add_read_fd (int fd, fd_callback func, void *data);
extern void delete_read_fd (int fd);
extern void add_write_fd (int fd, fd_callback func, void *data);
extern void delete_write_fd (int fd);
+#ifdef NS_IMPL_GNUSTEP
extern void catch_child_signal (void);
+#endif
INLINE_HEADER_END