From e2b7434615ff8ad9fd37c93d0c563976fa59daf8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 4 Jul 2005 17:39:48 +0000 Subject: rename: s/verify_dcl/verify_decl/ --- lib/verify.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/verify.h b/lib/verify.h index 013ed84f8..b86acaea9 100644 --- a/lib/verify.h +++ b/lib/verify.h @@ -19,21 +19,21 @@ #ifndef VERIFY_H # define VERIFY_H 1 -# ifndef verify_dcl +# ifndef verify_decl # define GL_CONCAT0(x, y) x##y # define GL_CONCAT(x, y) GL_CONCAT0 (x, y) /* Verify requirement, R, at compile-time, as a declaration. The implementation uses a struct declaration whose name includes the expansion of __LINE__, so there is a small chance that two uses of - verify_dcl from different files will end up colliding (for example, - f.c includes f.h and verify_dcl is used on the same line in each). */ -# define verify_dcl(R) \ + verify_decl from different files will end up colliding (for example, + f.c includes f.h and verify_decl is used on the same line in each). */ +# define verify_decl(R) \ struct GL_CONCAT (ct_assert_, __LINE__) { char a[(R) ? 1 : -1]; } # endif /* Verify requirement, R, at compile-time, as an expression. - Unlike assert, there is no run-time overhead. Unlike verify_dcl, + Unlike assert, there is no run-time overhead. Unlike verify_decl, above, there is no risk of collision, since there is no declared name. This macro may be used in some contexts where the other may not, and vice versa. Return void. */ -- cgit v1.2.3-70-g09d2