diff options
author | alfred <alfred@FreeBSD.org> | 2002-05-28 17:03:12 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-05-28 17:03:12 +0000 |
commit | 1ee311b26d7122f860fe940db6ce46968981a9a3 (patch) | |
tree | 96c195652047b452e756960d6bdfc6786443c564 /lib/libcompat/4.1/cftime.c | |
parent | ae40c00e1724fe7d6584623e3a953b6b44fc741f (diff) | |
download | FreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.zip FreeBSD-src-1ee311b26d7122f860fe940db6ce46968981a9a3.tar.gz |
Assume __STDC__, remove non-__STDC__ code.
Submitted by: keramida
Diffstat (limited to 'lib/libcompat/4.1/cftime.c')
-rw-r--r-- | lib/libcompat/4.1/cftime.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libcompat/4.1/cftime.c b/lib/libcompat/4.1/cftime.c index 777055f..8033e44 100644 --- a/lib/libcompat/4.1/cftime.c +++ b/lib/libcompat/4.1/cftime.c @@ -39,14 +39,7 @@ #define MAXLEN 1000 /* just a guess, only the user knows... */ int -#if __STDC__ cftime(char *s, char *format, const time_t *clock) -#else -cftime(s, format, clock) - char *s; - char *format; - time_t *clock; -#endif { return strftime(s, MAXLEN, format? format: "%C", localtime(clock)); } |