aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/builtins.h5
-rw-r--r--src/include/utils/dt.h6
-rw-r--r--src/include/utils/nabstime.h3
3 files changed, 3 insertions, 11 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h
index 235ee0a8299..f3c57d4deb5 100644
--- a/src/include/utils/builtins.h
+++ b/src/include/utils/builtins.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: builtins.h,v 1.59 1998/10/08 02:08:47 momjian Exp $
+ * $Id: builtins.h,v 1.60 1998/10/08 18:30:49 momjian Exp $
*
* NOTES
* This should normally only be included by fmgr.h.
@@ -141,7 +141,6 @@ extern bool namelt(NameData *arg1, NameData *arg2);
extern bool namele(NameData *arg1, NameData *arg2);
extern bool namegt(NameData *arg1, NameData *arg2);
extern bool namege(NameData *arg1, NameData *arg2);
-extern int namecmp(Name n1, Name n2);
extern int namecpy(Name n1, Name n2);
extern int namestrcpy(Name name, char *str);
extern int namestrcmp(Name name, char *str);
@@ -229,7 +228,6 @@ extern bool intervalct(TimeInterval i1, TimeInterval i2);
extern bool intervalov(TimeInterval i1, TimeInterval i2);
extern AbsoluteTime intervalstart(TimeInterval i);
extern AbsoluteTime intervalend(TimeInterval i);
-extern int isreltime(char *timestring);
extern text *timeofday(void);
/* filename.c */
@@ -440,7 +438,6 @@ extern text *textcat(text *arg1, text *arg2);
extern bool texteq(text *arg1, text *arg2);
extern bool textne(text *arg1, text *arg2);
extern int varstr_cmp(char *arg1, int len1, char *arg2, int len2);
-extern int text_cmp(text *arg1, text *arg2);
extern bool text_lt(text *arg1, text *arg2);
extern bool text_le(text *arg1, text *arg2);
extern bool text_gt(text *arg1, text *arg2);
diff --git a/src/include/utils/dt.h b/src/include/utils/dt.h
index 10c229beb6a..5b93abac76f 100644
--- a/src/include/utils/dt.h
+++ b/src/include/utils/dt.h
@@ -8,7 +8,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: dt.h,v 1.32 1998/09/01 04:38:59 momjian Exp $
+ * $Id: dt.h,v 1.33 1998/10/08 18:30:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -315,14 +315,10 @@ extern void GetCurrentTime(struct tm * tm);
extern DateTime SetDateTime(DateTime datetime);
extern int tm2datetime(struct tm * tm, double fsec, int *tzp, DateTime *dt);
extern int datetime2tm(DateTime dt, int *tzp, struct tm * tm, double *fsec, char **tzn);
-extern int timespan2tm(TimeSpan span, struct tm * tm, float8 *fsec);
-extern int tm2timespan(struct tm * tm, double fsec, TimeSpan *span);
extern void j2date(int jd, int *year, int *month, int *day);
extern int date2j(int year, int month, int day);
-extern double time2t(const int hour, const int min, const double sec);
-
extern int ParseDateTime(char *timestr, char *lowstr,
char **field, int *ftype, int maxfields, int *numfields);
extern int DecodeDateTime(char **field, int *ftype,
diff --git a/src/include/utils/nabstime.h b/src/include/utils/nabstime.h
index 7c6828e84cf..d1784c7cfb2 100644
--- a/src/include/utils/nabstime.h
+++ b/src/include/utils/nabstime.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: nabstime.h,v 1.16 1998/09/01 04:39:23 momjian Exp $
+ * $Id: nabstime.h,v 1.17 1998/10/08 18:30:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -116,7 +116,6 @@ extern AbsoluteTime datetime_abstime(DateTime *datetime);
extern DateTime *abstime_datetime(AbsoluteTime abstime);
extern bool AbsoluteTimeIsBefore(AbsoluteTime time1, AbsoluteTime time2);
-extern bool AbsoluteTimeIsAfter(AbsoluteTime time1, AbsoluteTime time2);
extern void abstime2tm(AbsoluteTime time, int *tzp, struct tm * tm, char *tzn);