summaryrefslogtreecommitdiff
path: root/lib/libcompat/4.1/cftime.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-05-28 17:03:12 +0000
commita82bbc730e20fe9dec4abeb1d949b2d02869032a (patch)
tree96c195652047b452e756960d6bdfc6786443c564 /lib/libcompat/4.1/cftime.c
parent6ba807ae3ad4a36737776b8360698979fb378d97 (diff)
Notes
Diffstat (limited to 'lib/libcompat/4.1/cftime.c')
-rw-r--r--lib/libcompat/4.1/cftime.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libcompat/4.1/cftime.c b/lib/libcompat/4.1/cftime.c
index 777055f6847f..8033e446eb92 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));
}