Mercurial > hg > octave-lojdl > gnulib-hg
changeset 13325:3ec28439ec92
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.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sun, 09 May 2010 12:02:14 +0200 |
parents | 2792eeac632f |
children | 9a066ce4a8a5 |
files | ChangeLog lib/verify.h |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-05-09 Jim Meyering <meyering@redhat.com> + + 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. + 2010-05-09 Bruno Haible <bruno@clisp.org> error: More reliable output on mingw.
--- 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 @@ 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