aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/timezone.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/timezone.c')
-rw-r--r--lib/libc/gen/timezone.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/gen/timezone.c b/lib/libc/gen/timezone.c
index e0f7d4a4ae0b..2809067eb8d8 100644
--- a/lib/libc/gen/timezone.c
+++ b/lib/libc/gen/timezone.c
@@ -29,8 +29,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-__SCCSID("@(#)timezone.c 8.1 (Berkeley) 6/4/93");
#include <sys/types.h>
#include <sys/time.h>
#include <stdio.h>
@@ -38,7 +36,7 @@ __SCCSID("@(#)timezone.c 8.1 (Berkeley) 6/4/93");
#include <string.h>
#define TZ_MAX_CHARS 255
-char *_tztab(int, int);
+static char *_tztab(int, int);
/*
* timezone --
@@ -51,7 +49,7 @@ char *_tztab(int, int);
static char czone[TZ_MAX_CHARS]; /* space for zone name */
char *
-timezone(int zone, int dst)
+__timezone_compat(int zone, int dst)
{
char *beg,
*end;
@@ -70,6 +68,7 @@ timezone(int zone, int dst)
}
return(_tztab(zone,dst)); /* default: table or created zone */
}
+__sym_compat(timezone, __timezone_compat, FBSD_1.0);
static struct zone {
int offset;
@@ -101,7 +100,7 @@ static struct zone {
* aren't in place in /etc. DO NOT USE THIS ROUTINE OUTSIDE OF THE
* STANDARD LIBRARY.
*/
-char *
+static char *
_tztab(int zone, int dst)
{
struct zone *zp;