]> git.saurik.com Git - apple/libc.git/blobdiff - stdtime/FreeBSD/strftime.c
Libc-1272.250.1.tar.gz
[apple/libc.git] / stdtime / FreeBSD / strftime.c
index 8acb0a415f512991d0a5738456b3e9fcc2d9cb1a..0300e2b45ba8af4d66ff4d0fc58d28bfce0bf8f9 100644 (file)
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#ifndef lint
-#ifndef NOID
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wunreachable-code"
+
+#if 0
 static const char      elsieid[] = "@(#)strftime.3     8.3";
 /*
 ** Based on the UCB version with the ID appearing below.
 ** This is ANSIish only when "multibyte character == plain character".
 */
-#endif /* !defined NOID */
-#endif /* !defined lint */
+#endif
 
 #include "xlocale_private.h"
 
@@ -53,7 +54,7 @@ __private_extern__ char *     _fmt(const char *, const struct tm *, char *, const ch
                        int *, struct lc_time_T *, locale_t);
 
 extern char *  tzname[];
-__private_extern__ long __darwin_altzone;              /* DST timezone offset */
+extern long __darwin_altzone;          /* DST timezone offset */
 #define altzone __darwin_altzone
 __private_extern__ long _st_get_timezone(void);
 
@@ -659,3 +660,4 @@ locale_t            loc;
        return pt;
 }
 #endif /* !BUILDING_VARIANT */
+#pragma clang diagnostic pop