From 178ddbca96928b4419f669fd1fec792463ff587f Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 14 Feb 2024 19:48:23 +0100 Subject: [PATCH] os: connection: drop obsolete define Pid_t Clean up a yet some more stale leftovers. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: (cherry picked from commit eac10cf1fae3656b20355f8d59b5161da4dea7f4) --- os/connection.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/os/connection.c b/os/connection.c index 83af59435..5c298bb7b 100644 --- a/os/connection.c +++ b/os/connection.c @@ -103,8 +103,6 @@ SOFTWARE. #include "dixstruct.h" #include "xace.h" -#define Pid_t pid_t - #ifdef HAVE_GETPEERUCRED #include #include @@ -128,7 +126,7 @@ Bool RunFromSigStopParent; /* send SIGSTOP to our own process; Upstart (or 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 pid_t ParentProcess; static Bool RunFromSmartParent; /* send SIGUSR1 to parent process */ #endif