postgres.git / summary / log / commit / refs
commit dffb2b478f54f4abdd0271bbab44d3f81d017648
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Mon Dec 04 05:34:27 2023 +0000
First released in: 17.0
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 <Shubham.Khanna@fujitsu.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/cff5475d-e0a9-4561-b094-794aa36bd031%40eisentraut.org
src/include/replication/walsender.h | 2 --
src/include/replication/worker_internal.h | 2 --
2 files changed, 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"
[parent: f21848de2013]