diff --git a/os/access.c b/os/access.c index 4c7151d06..6b3cad4ca 100644 --- a/os/access.c +++ b/os/access.c @@ -442,7 +442,6 @@ DefineSelf(int fd) #if !defined(TCPCONN) && !defined(UNIXCONN) return; #else - register int n; int len; caddr_t addr; int family; diff --git a/os/connection.c b/os/connection.c index d957ad661..f7e10b3ba 100644 --- a/os/connection.c +++ b/os/connection.c @@ -124,12 +124,14 @@ struct ospoll *server_poll; Bool NewOutputPending; /* not yet attempted to write some new output */ Bool NoListenAll; /* Don't establish any listening sockets */ -static Bool RunFromSmartParent; /* send SIGUSR1 to parent process */ Bool RunFromSigStopParent; /* send SIGSTOP to our own process; Upstart (or equivalent) will send SIGCONT back. */ static char dynamic_display[7]; /* display name */ Bool PartialNetwork; /* continue even if unable to bind all addrs */ +#if !defined(WIN32) static Pid_t ParentProcess; +static Bool RunFromSmartParent; /* send SIGUSR1 to parent process */ +#endif int GrabInProgress = 0;