summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-05-09 12:02:14 +0200
committerJim Meyering <meyering@redhat.com>2010-05-09 12:02:30 +0200
commit212eef100b6b884c59fc512363b1234118fbc1e1 (patch)
tree1ce2aed93f3764f0013c480e1ada46a42b4a8051 /lib
parentfa7bfb87a0c4d2f74d2149aa0d03543c9af5973c (diff)
downloadgnulib-212eef100b6b884c59fc512363b1234118fbc1e1.tar.gz
verify: adjust formatting to be more consistent
* lib/verify.h (_GL_GENSYM): Add a space before each of a few argument-list '('s, and after one comma.
Diffstat (limited to 'lib')
-rw-r--r--lib/verify.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/verify.h b/lib/verify.h
index a0849a8c4b..4ad780c8fa 100644
--- a/lib/verify.h
+++ b/lib/verify.h
@@ -71,7 +71,7 @@
#define _GL_CONCAT0(x, y) x##y
#define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y)
- extern struct {...} * _GL_CONCAT(dummy,__LINE__);
+ extern struct {...} * _GL_CONCAT (dummy, __LINE__);
But this has the problem that two invocations of verify from
within the same macro would collide, since the __LINE__ value
@@ -138,7 +138,7 @@
/* Generate a symbol with the given prefix, making it unique if
possible. */
-# define _GL_GENSYM(prefix) _GL_CONCAT(prefix, _GL_COUNTER)
+# define _GL_GENSYM(prefix) _GL_CONCAT (prefix, _GL_COUNTER)
/* Verify requirement R at compile-time, as an integer constant expression.
Return 1. */
@@ -158,6 +158,6 @@ template <int w>
trailing ';'. */
# define verify(R) \
- extern int (* _GL_GENSYM(verify_function) (void)) [verify_true (R)]
+ extern int (* _GL_GENSYM (verify_function) (void)) [verify_true (R)]
#endif