summaryrefslogtreecommitdiffstats
path: root/sys/sys/cdefs.h
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-07-05 01:33:30 +0000
committerguenther <guenther@openbsd.org>2012-07-05 01:33:30 +0000
commitf48785fefb20090acc0d988641bbaf942a9fd660 (patch)
treef15514d3d4d3df2cbdd1a5b7cd4bef9a3294705b /sys/sys/cdefs.h
parentSeems like I missed to adjust the route decision code to cover the things (diff)
downloadwireguard-openbsd-f48785fefb20090acc0d988641bbaf942a9fd660.tar.xz
wireguard-openbsd-f48785fefb20090acc0d988641bbaf942a9fd660.zip
Fix a recommendation about concatenation of strings
ok matthew@
Diffstat (limited to 'sys/sys/cdefs.h')
-rw-r--r--sys/sys/cdefs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index b9ad10d0245..5ae4a1f0604 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdefs.h,v 1.32 2012/01/03 16:56:58 kettenis Exp $ */
+/* $OpenBSD: cdefs.h,v 1.33 2012/07/05 01:33:30 guenther Exp $ */
/* $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ */
/*
@@ -62,8 +62,9 @@
* The __CONCAT macro is used to concatenate parts of symbol names, e.g.
* with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
* The __CONCAT macro is a bit tricky -- make sure you don't put spaces
- * in between its arguments. __CONCAT can also concatenate double-quoted
- * strings produced by the __STRING macro, but this only works with ANSI C.
+ * in between its arguments. Do not use __CONCAT on double-quoted strings,
+ * such as those from the __STRING macro: to concatenate strings just put
+ * them next to each other.
*/
#if defined(__STDC__) || defined(__cplusplus)
#define __P(protos) protos /* full-blown ANSI C */