From 1ee311b26d7122f860fe940db6ce46968981a9a3 Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 28 May 2002 17:03:12 +0000 Subject: Assume __STDC__, remove non-__STDC__ code. Submitted by: keramida --- lib/libcompat/4.1/cftime.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/libcompat/4.1/cftime.c') 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)); } -- cgit v1.1