diff options
author | Jim Meyering <jim@meyering.net> | 1999-08-22 09:43:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-08-22 09:43:48 +0000 |
commit | 1ec1017a2398686a2ec3034c81cad1521c825d0f (patch) | |
tree | 5ffb8ad9084867e7e46aa53ce829776b849f61eb | |
parent | bab0581788975e825ad407a68300100efc91e158 (diff) | |
download | coreutils-1ec1017a2398686a2ec3034c81cad1521c825d0f.tar.xz |
(IF_LINT): Define new macro.
-rw-r--r-- | src/sys2.h | 7 |
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 |