summaryrefslogtreecommitdiff
path: root/src/bin/psql
diff options
context:
space:
mode:
authorBruce Momjian1999-07-17 20:18:55 +0000
committerBruce Momjian1999-07-17 20:18:55 +0000
commit3406901a2928627477374769416a32b01a08b131 (patch)
treee045a16716bbeb4b90ed143260887e23f96939f5 /src/bin/psql
parentc62b8a68bf60a451f57fd026bacc91648de7433a (diff)
Move some system includes into c.h, and remove duplicates.
Diffstat (limited to 'src/bin/psql')
-rw-r--r--src/bin/psql/psql.c6
-rw-r--r--src/bin/psql/stringutils.c5
2 files changed, 3 insertions, 8 deletions
diff --git a/src/bin/psql/psql.c b/src/bin/psql/psql.c
index e0108ba65cb..5b042bdab6b 100644
--- a/src/bin/psql/psql.c
+++ b/src/bin/psql/psql.c
@@ -7,13 +7,10 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.182 1999/06/04 21:21:13 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.183 1999/07/17 20:18:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include <signal.h>
#include <errno.h>
#include <sys/types.h>
@@ -29,6 +26,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <ctype.h>
+
#include "postgres.h"
#include "libpq-fe.h"
#include "pqsignal.h"
diff --git a/src/bin/psql/stringutils.c b/src/bin/psql/stringutils.c
index bf6bece7dab..f3cedd39a68 100644
--- a/src/bin/psql/stringutils.c
+++ b/src/bin/psql/stringutils.c
@@ -7,14 +7,11 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/psql/stringutils.c,v 1.16 1999/02/13 23:20:41 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/stringutils.c,v 1.17 1999/07/17 20:18:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
-#include <stdio.h>
-#include <string.h>
#include <ctype.h>
-#include <stdlib.h>
#include "postgres.h"
#ifndef HAVE_STRDUP