summaryrefslogtreecommitdiff
path: root/src/include/libpq
diff options
context:
space:
mode:
authorMarc G. Fournier1996-11-06 10:31:02 +0000
committerMarc G. Fournier1996-11-06 10:31:02 +0000
commit1d0dd471fa129cb795f08e5189f5db335aacabbb (patch)
treece03513b9bd61bb3da73f203fef71304d973672b /src/include/libpq
parentb6e640f829d5aa5e2dae8651f5cfcfe03e367f77 (diff)
Okay...this pretty much cleans out the include files.
I'm able to get through a 'make' of the backend with no errors except the occasional 'might not be initialized error', which is nothing major, just annoying. Have a few patches from D'Arcy to incorporate, but am waiting until I can get a clean compile first, which I'm hoping to have before bed, or sometime tomorrow.
Diffstat (limited to 'src/include/libpq')
-rw-r--r--src/include/libpq/auth.h4
-rw-r--r--src/include/libpq/hba.h3
-rw-r--r--src/include/libpq/libpq-fs.h8
-rw-r--r--src/include/libpq/pqsignal.h3
4 files changed, 5 insertions, 13 deletions
diff --git a/src/include/libpq/auth.h b/src/include/libpq/auth.h
index d67d335643f..e04a9ce66f4 100644
--- a/src/include/libpq/auth.h
+++ b/src/include/libpq/auth.h
@@ -6,14 +6,14 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: auth.h,v 1.2 1996/10/31 09:48:57 scrappy Exp $
+ * $Id: auth.h,v 1.3 1996/11/06 10:29:54 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef AUTH_H
#define AUTH_H
-#include "libpq/pqcomm.h"
+#include <libpq/pqcomm.h>
/*----------------------------------------------------------------
* Common routines and definitions
diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h
index 72e374bdc84..c68fefefd80 100644
--- a/src/include/libpq/hba.h
+++ b/src/include/libpq/hba.h
@@ -4,14 +4,13 @@
* Interface to hba.c
*
*
- * $Id: hba.h,v 1.1 1996/10/11 09:12:17 bryanh Exp $
+ * $Id: hba.h,v 1.2 1996/11/06 10:29:58 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef HBA_H
#define HBA_H
-#include <libpq/pqcomm.h>
extern int
hba_recvauth(const Port *port, const char database[], const char user[],
diff --git a/src/include/libpq/libpq-fs.h b/src/include/libpq/libpq-fs.h
index fed461b17a7..a48203858cd 100644
--- a/src/include/libpq/libpq-fs.h
+++ b/src/include/libpq/libpq-fs.h
@@ -6,23 +6,17 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: libpq-fs.h,v 1.1 1996/08/28 07:23:00 scrappy Exp $
+ * $Id: libpq-fs.h,v 1.2 1996/11/06 10:30:02 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LIBPQ_FS_H
#define LIBPQ_FS_H
-#include "lib/dllist.h"
-#include <sys/file.h>
-#include <sys/stat.h>
-#include <fcntl.h> /* for O_ on some */
#ifndef WIN32
-#include <unistd.h> /* for SEEK_ on most */
#endif /* WIN32 */
#ifndef SEEK_SET
-#include <stdio.h> /* for SEEK_ on others */
#endif /* SEEK_SET */
/* UNIX compatibility junk. This should be in all systems' include files,
diff --git a/src/include/libpq/pqsignal.h b/src/include/libpq/pqsignal.h
index dc48786bb43..769ba172b72 100644
--- a/src/include/libpq/pqsignal.h
+++ b/src/include/libpq/pqsignal.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: pqsignal.h,v 1.2 1996/10/31 09:49:01 scrappy Exp $
+ * $Id: pqsignal.h,v 1.3 1996/11/06 10:30:08 scrappy Exp $
*
* NOTES
* This shouldn't be in libpq, but the monitor and some other
@@ -17,7 +17,6 @@
#ifndef PQSIGNAL_H
#define PQSIGNAL_H
-#include <signal.h>
typedef void (*pqsigfunc)(int);