From 8af641ac1f5c6972f9f282c1ab54f6fe4ed05a52 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue, 26 May 2009 01:39:49 +0000
Subject: [PATCH] Remove unused declarations of EncodeTimeOnly and
 DecodeTimeOnly.

---
 src/interfaces/ecpg/pgtypeslib/dt.h | 4 +---
 1 file changed, 1 insertion(+), 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 *);
-- 
GitLab