summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-08-22 09:43:48 +0000
committerJim Meyering <jim@meyering.net>1999-08-22 09:43:48 +0000
commit1ec1017a2398686a2ec3034c81cad1521c825d0f (patch)
tree5ffb8ad9084867e7e46aa53ce829776b849f61eb
parentbab0581788975e825ad407a68300100efc91e158 (diff)
downloadcoreutils-1ec1017a2398686a2ec3034c81cad1521c825d0f.tar.xz
(IF_LINT): Define new macro.
-rw-r--r--src/sys2.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h
index 53ef13f57..ecb348105 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -350,3 +350,10 @@ char *base_name PARAMS ((char const *));
#ifndef PID_T_MAX
# define PID_T_MAX TYPE_MAXIMUM (pid_t)
#endif
+
+/* Use this to suppress gcc's `...may be used before initialized' warnings. */
+#ifdef lint
+# define IF_LINT(Code) Code
+#else
+# define IF_LINT(Code) /* empty */
+#endif