diff src/emacs.c @ 99182:c1511154e8c2

* emacs.c (daemon_pipe): Make non-static. (IS_DAEMON): Move definition ... * lisp.h (IS_DAEMON): ... here. (daemon_pipe): Declare. (is_daemon): Remove. * dispnew.c (init_display): Use IS_DAEMON.
author Dan Nicolaescu <dann@ics.uci.edu>
date Tue, 28 Oct 2008 04:25:11 +0000
parents 8af0a96bf7da
children 9065d5721384
line wrap: on
line diff
--- a/src/emacs.c	Tue Oct 28 02:57:25 2008 +0000
+++ b/src/emacs.c	Tue Oct 28 04:25:11 2008 +0000
@@ -240,9 +240,7 @@
 
 /* Pipe used to send exit notification to the daemon parent at
    startup.  */
-static int daemon_pipe[2];
-
-#define IS_DAEMON (daemon_pipe[1] != 0)
+int daemon_pipe[2];
 
 /* Save argv and argc.  */
 char **initial_argv;