]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove duplicate function
authorMark Andrews <marka@isc.org>
Fri, 22 Dec 2006 05:18:53 +0000 (05:18 +0000)
committerMark Andrews <marka@isc.org>
Fri, 22 Dec 2006 05:18:53 +0000 (05:18 +0000)
lib/isc/win32/time.c

index 8da9c5cf2d85034f6704354ed773756e40f780d5..047af6abb3b70554858ed1a0446d7f61c0f0df90 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: time.c,v 1.40 2006/12/22 01:59:44 marka Exp $ */
+/* $Id: time.c,v 1.41 2006/12/22 05:18:53 marka Exp $ */
 
 #include <config.h>
 
@@ -269,23 +269,3 @@ isc_time_formathttptimestamp(const isc_time_t *t, char *buf, unsigned int len) {
                buf[0] = 0;
        }
 }
-
-void
-isc_time_formathttptimestamp(const isc_time_t *t, char *buf, unsigned int len) {
-       SYSTEMTIME st;
-       char DateBuf[50];
-       char TimeBuf[50];
-       
-       REQUIRE(len > 0);
-       if (FileTimeToSystemTime(&t->absolute, &st)) {
-               GetDateFormat(LOCALE_USER_DEFAULT, 0, &st, "yyyy-MM-dd",
-                             DateBuf, 50);
-               GetTimeFormat(LOCALE_USER_DEFAULT,
-                             TIME_NOTIMEMARKER | TIME_FORCE24HOURFORMAT,
-                             &st, "hh':'mm':'ss", TimeBuf, 50);
-               
-               snprintf(buf, len, "%sT%sZ", DateBuf, TimeBuf);
-       } else {
-               buf[0] = 0;
-       }
-}