Print this page
remove support for non-ANSI compilation
*** 20,31 ****
* CDDL HEADER END
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
-
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
--- 20,32 ----
* CDDL HEADER END
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
*** 41,52 ****
*/
#ifndef _ISO_TIME_ISO_H
#define _ISO_TIME_ISO_H
- #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.18 */
-
#include <sys/feature_tests.h>
#ifdef __cplusplus
extern "C" {
#endif
--- 42,51 ----
*** 95,106 ****
int tm_yday;
int tm_isdst;
};
- #if defined(__STDC__)
-
extern char *asctime(const struct tm *);
extern clock_t clock(void);
extern char *ctime(const time_t *);
extern double difftime(time_t, time_t);
extern struct tm *gmtime(const time_t *);
--- 94,103 ----
*** 108,131 ****
extern time_t mktime(struct tm *);
extern time_t time(time_t *);
extern size_t strftime(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
const struct tm *_RESTRICT_KYWD);
- #else /* __STDC__ */
-
- extern char *asctime();
- extern clock_t clock();
- extern char *ctime();
- extern double difftime();
- extern struct tm *gmtime();
- extern struct tm *localtime();
- extern time_t mktime();
- extern time_t time();
- extern size_t strftime();
-
- #endif /* __STDC__ */
-
#if __cplusplus >= 199711L
}
#endif /* end of namespace std */
#ifdef __cplusplus
--- 105,114 ----