Skip to content

Commit

Permalink
Remove use of __P.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jun 27, 2008
1 parent 5ee0f5e commit cc9f65c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions time/strptime_l.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cc9f65c

Please sign in to comment.