diff options
Diffstat (limited to 'src/include/utils/dt.h')
| -rw-r--r-- | src/include/utils/dt.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/include/utils/dt.h b/src/include/utils/dt.h index c74a63cd27..d2afbe5034 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.24 1997/12/17 23:19:28 thomas Exp $ + * $Id: dt.h,v 1.25 1998/01/24 22:50:39 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -320,19 +320,15 @@ 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, +extern int ParseDateTime(char *timestr, char *lowstr, char *field[], int ftype[], int maxfields, int *numfields); -extern int -DecodeDateTime(char *field[], int ftype[], +extern int DecodeDateTime(char *field[], int ftype[], int nf, int *dtype, struct tm * tm, double *fsec, int *tzp); -extern int -DecodeTimeOnly(char *field[], int ftype[], int nf, +extern int DecodeTimeOnly(char *field[], int ftype[], int nf, int *dtype, struct tm * tm, double *fsec); -extern int -DecodeDateDelta(char *field[], int ftype[], +extern int DecodeDateDelta(char *field[], int ftype[], int nf, int *dtype, struct tm * tm, double *fsec); extern int EncodeDateOnly(struct tm * tm, int style, char *str); |
