changeset 51234:4458f91cfb2b

(my_strftime_localtime_r): Remove `defined but unused' warning.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 25 May 2003 17:44:14 +0000
parents 41ed31a0fd49
children 2710810008b2
files src/strftime.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/strftime.c	Sun May 25 17:43:20 2003 +0000
+++ b/src/strftime.c	Sun May 25 17:44:14 2003 +0000
@@ -1,4 +1,6 @@
-/* Copyright (C) 1991,92,93,94,95,96,97,98,99,2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,96,97,98,99,2000,2003
+             Free Software Foundation, Inc.
+
    This file is part of the GNU Emacs.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -198,7 +200,6 @@
   *tp = *l;
   return tp;
 }
-# endif /* ! HAVE_TM_GMTOFF */
 
 static struct tm *my_strftime_localtime_r __P ((const time_t *, struct tm *));
 static struct tm *
@@ -212,6 +213,8 @@
   *tp = *l;
   return tp;
 }
+# endif /* ! HAVE_TM_GMTOFF */
+
 #endif /* ! defined _LIBC */