Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d3f9d6a

Browse files
author
Bryan Henderson
committed
Move include of signal.h inside pqsignal.h so it's always where it's needed.
1 parent 7e499bd commit d3f9d6a

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

src/backend/libpq/pqcomm.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.8 1996/11/15 09:54:28 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.9 1996/11/24 04:05:20 bryanh Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -38,7 +38,6 @@
3838
#include <string.h>
3939
#include <errno.h>
4040
#include <fcntl.h>
41-
#include <signal.h>
4241
#ifndef WIN32
4342
#include <unistd.h> /* for ttyname() */
4443
#include <sys/types.h>

src/backend/postmaster/postmaster.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.25 1996/11/14 10:24:01 bryanh Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.26 1996/11/24 04:07:00 bryanh Exp $
1414
*
1515
* NOTES
1616
*
@@ -40,7 +40,6 @@
4040

4141
#include "postgres.h"
4242

43-
#include <signal.h> /* for other stuff */
4443
#include "libpq/pqsignal.h" /* substitute for <signal.h> */
4544
#include <string.h>
4645
#include <stdlib.h>

src/backend/storage/lmgr/proc.c

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.9 1996/11/08 05:58:59 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.10 1996/11/24 04:07:05 bryanh Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -46,14 +46,13 @@
4646
* This is so that we can support more backends. (system-wide semaphore
4747
* sets run out pretty fast.) -ay 4/95
4848
*
49-
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.9 1996/11/08 05:58:59 momjian Exp $
49+
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.10 1996/11/24 04:07:05 bryanh Exp $
5050
*/
5151
#include <sys/time.h>
5252
#ifndef WIN32
5353
#include <unistd.h>
5454
#endif /* WIN32 */
5555
#include <string.h>
56-
#include <signal.h>
5756
#include <sys/types.h>
5857
#include <sys/ipc.h>
5958
#include <sys/sem.h>

src/include/libpq/pqsignal.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: pqsignal.h,v 1.3 1996/11/06 10:30:08 scrappy Exp $
9+
* $Id: pqsignal.h,v 1.4 1996/11/24 04:07:17 bryanh Exp $
1010
*
1111
* NOTES
1212
* This shouldn't be in libpq, but the monitor and some other
@@ -17,7 +17,7 @@
1717
#ifndef PQSIGNAL_H
1818
#define PQSIGNAL_H
1919

20-
20+
#include <signal.h>
2121

2222
typedef void (*pqsigfunc)(int);
2323

0 commit comments

Comments
 (0)