changed tztab to _tztab
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 2 Apr 1987 01:00:21 +0000 (17:00 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 2 Apr 1987 01:00:21 +0000 (17:00 -0800)
SCCS-vsn: lib/libc/gen/timezone.c 5.5
SCCS-vsn: lib/libc/gen/ctime.c 5.9

usr/src/lib/libc/gen/ctime.c
usr/src/lib/libc/gen/timezone.c

index 200605f..5379226 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)ctime.c    5.8 (Berkeley) %G%";
+static char sccsid[] = "@(#)ctime.c    5.9 (Berkeley) %G%";
 #endif LIBC_SCCS and not lint
 
 #include "sys/param.h"
 #endif LIBC_SCCS and not lint
 
 #include "sys/param.h"
@@ -223,14 +223,14 @@ tzsetkernel()
 {
        struct timeval  tv;
        struct timezone tz;
 {
        struct timeval  tv;
        struct timezone tz;
-       char    *tztab();
+       char    *_tztab();
 
        if (gettimeofday(&tv, &tz))
                return -1;
        s.timecnt = 0;          /* UNIX counts *west* of Greenwich */
        s.ttis[0].tt_gmtoff = tz.tz_minuteswest * -SECS_PER_MIN;
        s.ttis[0].tt_abbrind = 0;
 
        if (gettimeofday(&tv, &tz))
                return -1;
        s.timecnt = 0;          /* UNIX counts *west* of Greenwich */
        s.ttis[0].tt_gmtoff = tz.tz_minuteswest * -SECS_PER_MIN;
        s.ttis[0].tt_abbrind = 0;
-       (void)strcpy(s.chars, tztab(tz.tz_minuteswest, 0));
+       (void)strcpy(s.chars, _tztab(tz.tz_minuteswest, 0));
        tzname[0] = tzname[1] = s.chars;
 #ifdef USG_COMPAT
        timezone = tz.tz_minuteswest * 60;
        tzname[0] = tzname[1] = s.chars;
 #ifdef USG_COMPAT
        timezone = tz.tz_minuteswest * 60;
index 2c7eea8..e10bd76 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)timezone.c 5.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)timezone.c 5.5 (Berkeley) %G%";
 #endif LIBC_SCCS and not lint
 
 #include <sys/types.h>
 #endif LIBC_SCCS and not lint
 
 #include <sys/types.h>
@@ -78,7 +78,7 @@ static struct zone {
  *     STANDARD LIBRARY.
  */
 char *
  *     STANDARD LIBRARY.
  */
 char *
-tztab(zone,dst)
+_tztab(zone,dst)
        register int    zone;
        int     dst;
 {
        register int    zone;
        int     dst;
 {