summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-08-23 16:32:20 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-08-23 16:32:20 +0000
commite76b6a943d84278c43734991a0985e0c1926a32f (patch)
tree67f467700f187e043dc774cdf587688fe22c05e6 /lib/libc
parentc1493cf000bca65b855f466136dbc66bf188b76b (diff)
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')
-rw-r--r--lib/libc/time/strptime.c4
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