aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-05-26 01:39:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-05-26 01:39:49 +0000
commit8af641ac1f5c6972f9f282c1ab54f6fe4ed05a52 (patch)
tree657430e0de7eefda2db8f173bb2c980bd8e0ecf2 /src
parentdd96d13a77fcb7a95ecc6e74b36677fb1f1a69b8 (diff)
downloadpostgresql-8af641ac1f5c6972f9f282c1ab54f6fe4ed05a52.tar.gz
postgresql-8af641ac1f5c6972f9f282c1ab54f6fe4ed05a52.zip
Remove unused declarations of EncodeTimeOnly and DecodeTimeOnly.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/pgtypeslib/dt.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/interfaces/ecpg/pgtypeslib/dt.h b/src/interfaces/ecpg/pgtypeslib/dt.h
index 1da5b8cc529..388c67253e9 100644
--- a/src/interfaces/ecpg/pgtypeslib/dt.h
+++ b/src/interfaces/ecpg/pgtypeslib/dt.h
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/dt.h,v 1.42 2009/05/20 16:13:18 meskes Exp $ */
+/* $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/dt.h,v 1.43 2009/05/26 01:39:49 tgl Exp $ */
#ifndef DT_H
#define 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 *);