summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdtime/strftime.c')
-rw-r--r--lib/libc/stdtime/strftime.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c
index 72f67d4..29401bb 100644
--- a/lib/libc/stdtime/strftime.c
+++ b/lib/libc/stdtime/strftime.c
@@ -15,11 +15,6 @@
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#ifdef LIBC_RCS
-static const char rcsid[] =
- "$FreeBSD$";
-#endif
-
#ifndef lint
#ifndef NOID
static const char elsieid[] = "@(#)strftime.c 7.38";
@@ -33,11 +28,11 @@ static const char elsieid[] = "@(#)strftime.c 7.38";
#include "namespace.h"
#include "private.h"
-#ifndef LIBC_SCCS
-#ifndef lint
+#if defined(LIBC_SCCS) && !defined(lint)
static const char sccsid[] = "@(#)strftime.c 5.4 (Berkeley) 3/14/89";
-#endif /* !defined lint */
-#endif /* !defined LIBC_SCCS */
+#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "tzfile.h"
#include <fcntl.h>
OpenPOWER on IntegriCloud