summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-08-12 12:41:56 +0000
committerJim Meyering <jim@meyering.net>2005-08-12 12:41:56 +0000
commitfdaa1ce8492c4c878e5a65fd0925f1c2d3c95d3d (patch)
tree1ad2a78176e7507bdeca9d11a4a5036ae4018bf3 /lib
parentfa237b382f715e2162c4127edfe13d7ec911e2a8 (diff)
downloadcoreutils-fdaa1ce8492c4c878e5a65fd0925f1c2d3c95d3d.tar.xz
(IF_LINT): Define.
Diffstat (limited to 'lib')
-rw-r--r--lib/regex.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/regex.c b/lib/regex.c
index 99c1a8250..c202a8ca1 100644
--- a/lib/regex.c
+++ b/lib/regex.c
@@ -1,5 +1,5 @@
/* Extended regular expression matching and search library.
- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
@@ -82,6 +82,12 @@
#include <regex.h>
#include "regex_internal.h"
+#ifdef lint
+# define IF_LINT(Code) Code
+#else
+# define IF_LINT(Code) /* empty */
+#endif
+
#include "regex_internal.c"
#include "regcomp.c"
#include "regexec.c"