summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2023-12-04 05:34:27 +0000
committerPeter Eisentraut2023-12-04 05:35:22 +0000
commitdffb2b478f54f4abdd0271bbab44d3f81d017648 (patch)
tree7741f5ccf9c0652bf14bfd6f2e15a7a3a66d83e7
parentf21848de20130146bc8039504af40bd24add54cd (diff)
Remove unnecessary includes of <signal.h>
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
-rw-r--r--src/include/replication/walsender.h2
-rw-r--r--src/include/replication/worker_internal.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/include/replication/walsender.h b/src/include/replication/walsender.h
index 268f8e8d0fc..60313980a99 100644
--- a/src/include/replication/walsender.h
+++ b/src/include/replication/walsender.h
@@ -12,8 +12,6 @@
#ifndef _WALSENDER_H
#define _WALSENDER_H
-#include <signal.h>
-
/*
* What to do with a snapshot in create replication slot command.
*/
diff --git a/src/include/replication/worker_internal.h b/src/include/replication/worker_internal.h
index 47854b5cd45..db734089374 100644
--- a/src/include/replication/worker_internal.h
+++ b/src/include/replication/worker_internal.h
@@ -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"