(my_strftime) [strftime]: Declare strftime here, since the definition
authorJim Meyering <jim@meyering.net>
Mon, 17 Apr 2000 11:39:26 +0000 (11:39 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 17 Apr 2000 11:39:26 +0000 (11:39 +0000)
of it to rpl_strftime also defined-away the system's declaration.

lib/strftime.c

index f3dcd77f4aa97479b15b64cea1dd3ea23c51de24..6ab2be7d4b1a3ef56d8f7c8d1126a2c0f26c31cb 100644 (file)
@@ -822,6 +822,7 @@ my_strftime (s, maxsize, format, tp ut_argument)
               "#define strftime rpl_strftime".  */
 # ifdef strftime
 #  undef strftime
+           size_t strftime ();
 # endif
 
            *u++ = '%';