]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(IF_LINT): Define new macro.
authorJim Meyering <jim@meyering.net>
Sun, 22 Aug 1999 09:43:48 +0000 (09:43 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 22 Aug 1999 09:43:48 +0000 (09:43 +0000)
src/sys2.h

index 53ef13f57cf9a079a55a331acf9b362818361db0..ecb348105db406e2c5b6f5df6d4f211d861bc930 100644 (file)
@@ -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