git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f21848d)
Remove unnecessary includes of <signal.h>
Mon, 4 Dec 2023 05:34:27 +0000 (06:34 +0100)
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 <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


diff --git a/src/include/replication/walsender.h b/src/include/replication/walsender.h
index 268f8e8d0fc5d62d56a8eea0357e1ccedb77fb5d..60313980a994610f49322dc8c99e0d40e406e244 100644 (file)
--- 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 47854b5cd45bcaf6d957e37ab08fb3b602fbb99e..db73408937467cc32813056278b30995992ab4d2 100644 (file)
--- 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"
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /