summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2004-01-11 23:59:23 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2004-01-11 23:59:23 +0000
commit5fab4dd58f2ba85a9e078f8bc08c28bccab67f04 (patch)
tree85309a859cee9176e317727d8ed88e91e38500e1
parent65e9876f92fecde14933802c76b64617612d83b7 (diff)
in ANSI world, "string1" "string2" is enough for concatecation
gcc3 bitches as "str1"##"str2" is not a valid token; ok espie
-rw-r--r--sys/arch/sparc64/stand/installboot/installboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/stand/installboot/installboot.c b/sys/arch/sparc64/stand/installboot/installboot.c
index 61470f541e4..bdc3aad2a7b 100644
--- a/sys/arch/sparc64/stand/installboot/installboot.c
+++ b/sys/arch/sparc64/stand/installboot/installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.c,v 1.4 2003/08/25 23:36:46 tedu Exp $ */
+/* $OpenBSD: installboot.c,v 1.5 2004/01/11 23:59:22 pvalchev Exp $ */
/* $NetBSD: installboot.c,v 1.8 2001/02/19 22:48:59 cgd Exp $ */
/*-
@@ -69,7 +69,7 @@ char *boot, *proto, *dev;
#endif
#else
/* XXX: Hack in libc nlist works with both formats */
-#define SYMNAME(a) __CONCAT("_",a)
+#define SYMNAME(a) "_"a
#endif
struct nlist nl[] = {