Remove unnecessary includes of <signal.h>
authorPeter Eisentraut <[email protected]>
Mon, 4 Dec 2023 05:34:27 +0000 (06:34 +0100)
committerPeter Eisentraut <[email protected]>
Mon, 4 Dec 2023 05:35:22 +0000 (06:35 +0100)
These were once needed for sig_atomic_t, but that no longer appears in
these headers, so the include is not needed.

Reviewed-by: Shubham Khanna <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/cff5475d-e0a9-4561-b094-794aa36bd031%40eisentraut.org

src/include/replication/walsender.h
src/include/replication/worker_internal.h

index 268f8e8d0fc5d62d56a8eea0357e1ccedb77fb5d..60313980a994610f49322dc8c99e0d40e406e244 100644 (file)
@@ -12,8 +12,6 @@
 #ifndef _WALSENDER_H
 #define _WALSENDER_H
 
-#include <signal.h>
-
 /*
  * What to do with a snapshot in create replication slot command.
  */
index 47854b5cd45bcaf6d957e37ab08fb3b602fbb99e..db73408937467cc32813056278b30995992ab4d2 100644 (file)
@@ -12,8 +12,6 @@
 #ifndef WORKER_INTERNAL_H
 #define WORKER_INTERNAL_H
 
-#include <signal.h>
-
 #include "access/xlogdefs.h"
 #include "catalog/pg_subscription.h"
 #include "datatype/timestamp.h"