summaryrefslogtreecommitdiff
path: root/src/include/libpq/pqsignal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/libpq/pqsignal.h')
-rw-r--r--src/include/libpq/pqsignal.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/include/libpq/pqsignal.h b/src/include/libpq/pqsignal.h
index bc0bcef040..1889dca4b9 100644
--- a/src/include/libpq/pqsignal.h
+++ b/src/include/libpq/pqsignal.h
@@ -1,18 +1,13 @@
/*-------------------------------------------------------------------------
*
* pqsignal.h
- * prototypes for the reliable BSD-style signal(2) routine.
- *
+ * Backend signal(2) support (see also src/port/pqsignal.c)
*
* Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/include/libpq/pqsignal.h
*
- * NOTES
- * This shouldn't be in libpq, but the monitor and some other
- * things need it...
- *
*-------------------------------------------------------------------------
*/
#ifndef PQSIGNAL_H
@@ -42,10 +37,6 @@ int pqsigsetmask(int mask);
#define sigdelset(set, signum) (*(set) &= ~(sigmask(signum)))
#endif /* not HAVE_SIGPROCMASK */
-typedef void (*pqsigfunc) (int);
-
extern void pqinitmask(void);
-extern pqsigfunc pqsignal(int signo, pqsigfunc func);
-
#endif /* PQSIGNAL_H */