Move include of signal.h inside pqsignal.h so it's always where it's needed.

This commit is contained in:
Bryan Henderson 1996-11-24 04:07:17 +00:00
parent 7e499bd112
commit d3f9d6ad4f
4 changed files with 6 additions and 9 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.8 1996/11/15 09:54:28 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.9 1996/11/24 04:05:20 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
@ -38,7 +38,6 @@
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#ifndef WIN32
#include <unistd.h> /* for ttyname() */
#include <sys/types.h>

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.25 1996/11/14 10:24:01 bryanh Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.26 1996/11/24 04:07:00 bryanh Exp $
*
* NOTES
*
@ -40,7 +40,6 @@
#include "postgres.h"
#include <signal.h> /* for other stuff */
#include "libpq/pqsignal.h" /* substitute for <signal.h> */
#include <string.h>
#include <stdlib.h>

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.9 1996/11/08 05:58:59 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.10 1996/11/24 04:07:05 bryanh Exp $
*
*-------------------------------------------------------------------------
*/
@ -46,14 +46,13 @@
* This is so that we can support more backends. (system-wide semaphore
* sets run out pretty fast.) -ay 4/95
*
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.9 1996/11/08 05:58:59 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.10 1996/11/24 04:07:05 bryanh Exp $
*/
#include <sys/time.h>
#ifndef WIN32
#include <unistd.h>
#endif /* WIN32 */
#include <string.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pqsignal.h,v 1.3 1996/11/06 10:30:08 scrappy Exp $
* $Id: pqsignal.h,v 1.4 1996/11/24 04:07:17 bryanh Exp $
*
* NOTES
* This shouldn't be in libpq, but the monitor and some other
@ -17,7 +17,7 @@
#ifndef PQSIGNAL_H
#define PQSIGNAL_H
#include <signal.h>
typedef void (*pqsigfunc)(int);