summaryrefslogtreecommitdiff
path: root/time/strptime_l.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-06-27 21:36:13 +0000
committerUlrich Drepper <drepper@redhat.com>2008-06-27 21:36:13 +0000
commitcc9f65ce82d4995e776464a1656587c39f6b14bb (patch)
treea4e1ea4aa148f303af44118dc12d94ddc55d7f0f /time/strptime_l.c
parent5ee0f5e2d94477c2f9c36e7d67ff4e5efed98560 (diff)
downloadglibc-cc9f65ce82d4995e776464a1656587c39f6b14bb.tar.gz
Remove use of __P.
Diffstat (limited to 'time/strptime_l.c')
-rw-r--r--time/strptime_l.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/time/strptime_l.c b/time/strptime_l.c
index d5356d3b6a..c4a0638fff 100644
--- a/time/strptime_l.c
+++ b/time/strptime_l.c
@@ -33,22 +33,13 @@
#endif
-#ifndef __P
-# if defined __GNUC__ || (defined __STDC__ && __STDC__)
-# define __P(args) args
-# else
-# define __P(args) ()
-# endif /* GCC. */
-#endif /* Not __P. */
-
-
#if ! HAVE_LOCALTIME_R && ! defined localtime_r
# ifdef _LIBC
# define localtime_r __localtime_r
# else
/* Approximate localtime_r as best we can in its absence. */
# define localtime_r my_localtime_r
-static struct tm *localtime_r __P ((const time_t *, struct tm *));
+static struct tm *localtime_r (const time_t *, struct tm *);
static struct tm *
localtime_r (t, tp)
const time_t *t;