From: Tom Lane Date: Tue, 26 May 2009 01:39:49 +0000 (+0000) Subject: Remove unused declarations of EncodeTimeOnly and DecodeTimeOnly. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=0fd3aa808d7003c7ad0f4205101546a57298e853;p=users%2Fsimon%2Fpostgres.git Remove unused declarations of EncodeTimeOnly and DecodeTimeOnly. --- diff --git a/src/interfaces/ecpg/pgtypeslib/dt.h b/src/interfaces/ecpg/pgtypeslib/dt.h index cdba8c25cf..a20239f0c4 100644 --- a/src/interfaces/ecpg/pgtypeslib/dt.h +++ b/src/interfaces/ecpg/pgtypeslib/dt.h @@ -332,10 +332,8 @@ do { \ #define TIMESTAMP_IS_NOEND(j) ((j) == DT_NOEND) #define TIMESTAMP_NOT_FINITE(j) (TIMESTAMP_IS_NOBEGIN(j) || TIMESTAMP_IS_NOEND(j)) -int DecodeTimeOnly(char **, int *, int, int *, struct tm *, fsec_t *, int *); int DecodeInterval(char **, int *, int, int *, struct tm *, fsec_t *); int DecodeTime(char *, int *, struct tm *, fsec_t *); -int EncodeTimeOnly(struct tm *, fsec_t, int *, int, char *); int EncodeDateTime(struct tm *, fsec_t, int *, char **, int, char *, bool); int EncodeInterval(struct tm *, fsec_t, int, char *); int tm2timestamp(struct tm *, fsec_t, int *, timestamp *);