summaryrefslogtreecommitdiff
path: root/src/timezone/scheck.c
diff options
context:
space:
mode:
authorTom Lane2004-05-21 05:08:06 +0000
committerTom Lane2004-05-21 05:08:06 +0000
commit63bd0db12199c5df043e1dea0f2b574f622b3a4c (patch)
treedbafdb6e4541162ad369dbfeca24cbd62aefddcc /src/timezone/scheck.c
parent260b513fc37b6ed2df51586c487d0832b89d0d70 (diff)
Integrate src/timezone library for all platforms. There is more we can
and should do now that we control our own destiny for timezone handling, but this commit gets the bulk of the picayune diffs in place. Magnus Hagander and Tom Lane.
Diffstat (limited to 'src/timezone/scheck.c')
-rw-r--r--src/timezone/scheck.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/timezone/scheck.c b/src/timezone/scheck.c
index 39feeba7011..3c508025fa0 100644
--- a/src/timezone/scheck.c
+++ b/src/timezone/scheck.c
@@ -1,17 +1,9 @@
-#ifndef lint
-#ifndef NOID
-static char elsieid[] = "@(#)scheck.c 8.15";
-#endif /* !defined lint */
-#endif /* !defined NOID */
-
-/*LINTLIBRARY*/
+#include "postgres.h"
#include "private.h"
-char *
-scheck(string, format)
-const char * const string;
-const char * const format;
+
+char *scheck(const char *string, const char *format)
{
register char * fbuf;
register const char * fp;