mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-17 17:48:15 +00:00
ANSI
SCCS-file: asctime.c SCCS-SID: 3.3
This commit is contained in:
committed by
Paul Eggert
parent
22fec19b13
commit
d0498e791a
@@ -4,18 +4,19 @@
|
||||
|
||||
#include "stdio.h"
|
||||
|
||||
#ifndef lint
|
||||
#ifndef NOID
|
||||
static char sccsid[] = "%W%";
|
||||
#endif /* !NOID */
|
||||
#endif /* !lint */
|
||||
#if !defined lint && !defined NOID
|
||||
static char elsieid[] = "%W%"
|
||||
#endif /* !defined lint && !defined NOID */
|
||||
|
||||
#include "time.h"
|
||||
#include "tzfile.h"
|
||||
|
||||
#ifndef USG
|
||||
#if !defined __STDC__
|
||||
#define const
|
||||
#if !defined USG
|
||||
extern char * sprintf();
|
||||
#endif /* !USG */
|
||||
#endif /* !defined USG */
|
||||
#endif /* !defined __STDC__ */
|
||||
|
||||
/*
|
||||
** A la X3J11
|
||||
@@ -23,7 +24,7 @@ extern char * sprintf();
|
||||
|
||||
char *
|
||||
asctime(timeptr)
|
||||
register struct tm * timeptr;
|
||||
register const struct tm * timeptr;
|
||||
{
|
||||
static char wday_name[DAYS_PER_WEEK][3] = {
|
||||
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
|
||||
|
||||
Reference in New Issue
Block a user