diff options
author | Jim Meyering <jim@meyering.net> | 1996-07-15 03:56:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-07-15 03:56:06 +0000 |
commit | 19bff1c02d0e0fb32cd11c21db739e8338a757c6 (patch) | |
tree | 500fb4d19edca1f7a6c03fd66329d2ae8a61118b /lib/strftime.c | |
parent | fd984b9655ac56b6c0af9474562faf659b28113c (diff) | |
download | coreutils-19bff1c02d0e0fb32cd11c21db739e8338a757c6.tar.xz |
indent cpp-directives
Diffstat (limited to 'lib/strftime.c')
-rw-r--r-- | lib/strftime.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/strftime.c b/lib/strftime.c index 16a9bb2b4..89ce66136 100644 --- a/lib/strftime.c +++ b/lib/strftime.c @@ -62,19 +62,19 @@ USA. */ #endif #ifndef __P -#if defined (__GNUC__) || (defined (__STDC__) && __STDC__) -#define __P(args) args -#else -#define __P(args) () -#endif /* GCC. */ +# if defined (__GNUC__) || (defined (__STDC__) && __STDC__) +# define __P(args) args +# else +# define __P(args) () +# endif /* GCC. */ #endif /* Not __P. */ #ifndef PTR -#ifdef __STDC__ -#define PTR void * -#else -#define PTR char * -#endif +# ifdef __STDC__ +# define PTR void * +# else +# define PTR char * +# endif #endif static unsigned int week __P((const struct tm *const, int, int)); @@ -96,9 +96,9 @@ static unsigned int week __P((const struct tm *const, int, int)); #define cpy(n, s) add((n), memcpy((PTR) p, (PTR) (s), (n))) #ifdef _LIBC -#define fmt(n, args) add((n), if (sprintf args != (n)) return 0) +# define fmt(n, args) add((n), if (sprintf args != (n)) return 0) #else -#define fmt(n, args) add((n), sprintf args; if (strlen (p) != (n)) return 0) +# define fmt(n, args) add((n), sprintf args; if (strlen (p) != (n)) return 0) #endif |