diff options
author | 2001-08-23 16:32:19 +0000 | |
---|---|---|
committer | 2001-08-23 16:32:19 +0000 | |
commit | c11637927d2918ec1a76f52bddfc2a1aa89ca5a5 (patch) | |
tree | d6463e5f0753082e1be900b4eefeaf84e3f355c7 /lib/libc/time | |
parent | sync (diff) | |
download | wireguard-openbsd-c11637927d2918ec1a76f52bddfc2a1aa89ca5a5.tar.xz wireguard-openbsd-c11637927d2918ec1a76f52bddfc2a1aa89ca5a5.zip |
Kill very odd use of __CONCAT: completely unneeded, obfuscated, and
not even ANSI (concatenation does not produce a valid token).
Found out by heko@.
Diffstat (limited to 'lib/libc/time')
-rw-r--r-- | lib/libc/time/strptime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/time/strptime.c b/lib/libc/time/strptime.c index 412dfec2e4d..b4e5d31ec74 100644 --- a/lib/libc/time/strptime.c +++ b/lib/libc/time/strptime.c @@ -36,7 +36,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: strptime.c,v 1.6 2001/01/08 15:23:20 d Exp $"; +static char rcsid[] = "$OpenBSD: strptime.c,v 1.7 2001/08/23 16:32:19 espie Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/localedef.h> @@ -46,7 +46,7 @@ static char rcsid[] = "$OpenBSD: strptime.c,v 1.6 2001/01/08 15:23:20 d Exp $"; #include <time.h> #include <tzfile.h> -#define _ctloc(x) __CONCAT(_CurrentTimeLocale->,x) +#define _ctloc(x) (_CurrentTimeLocale->x) /* * We do not implement alternate representations. However, we always |