summaryrefslogtreecommitdiff
path: root/src/backend/port/snprintf.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-07-17 20:18:55 +0000
committerBruce Momjian <bruce@momjian.us>1999-07-17 20:18:55 +0000
commit3406901a2928627477374769416a32b01a08b131 (patch)
treee045a16716bbeb4b90ed143260887e23f96939f5 /src/backend/port/snprintf.c
parentc62b8a68bf60a451f57fd026bacc91648de7433a (diff)
downloadpostgresql-3406901a2928627477374769416a32b01a08b131.tar.gz
Move some system includes into c.h, and remove duplicates.
Diffstat (limited to 'src/backend/port/snprintf.c')
-rw-r--r--src/backend/port/snprintf.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/backend/port/snprintf.c b/src/backend/port/snprintf.c
index 17e8eb9a1d..e6ee698e66 100644
--- a/src/backend/port/snprintf.c
+++ b/src/backend/port/snprintf.c
@@ -32,15 +32,12 @@
* SUCH DAMAGE.
*/
-#include "postgres.h"
-
-
-#include <stdio.h>
-#include <stdarg.h>
-
#include <sys/ioctl.h>
#include <sys/param.h>
+#include "postgres.h"
+
+
/*
* We do all internal arithmetic in the widest available integer type,
* here called long_long (or ulong_long for unsigned).
@@ -77,7 +74,7 @@ typedef unsigned long ulong_long;
* causing nast effects.
**************************************************************/
-/*static char _id[] = "$Id: snprintf.c,v 1.24 1999/07/16 04:59:36 momjian Exp $";*/
+/*static char _id[] = "$Id: snprintf.c,v 1.25 1999/07/17 20:17:28 momjian Exp $";*/
static char *end;
static int SnprfOverflow;