diff options
author | Jim Meyering <meyering@redhat.com> | 2010-03-11 15:06:37 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-03-11 15:38:19 +0100 |
commit | bed24c8e8adf8635f407e3bdb516174d85f78016 (patch) | |
tree | 20c466be581dd77d7034dd086950557e37270e40 /src/system.h | |
parent | bedc0229b071ff536a631462e74113913f4c645f (diff) | |
download | grep-bed24c8e8adf8635f407e3bdb516174d85f78016.tar.gz |
maint: remove all uses of PARAMS
* lib/savedir.h (PARAMS): Remove definitions manually.
Remove the remaining ones via this command:
git grep -l define.PARAMS |xargs perl -ni -e '/define PARAMS/ or print'
* src/dfa.h (PARAMS): Remove definitions.
* src/system.h (PARAMS): Likewise.
Remove most uses with this:
git grep -lw PARAMS |xargs perl -pi -e 's/\bPARAMS *\((.*)\);/$1;/'
Remove the remainder manually.
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/system.h b/src/system.h index 93fdbf14..4f5e8545 100644 --- a/src/system.h +++ b/src/system.h @@ -16,19 +16,16 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -#undef PARAMS #if defined (__STDC__) && __STDC__ # ifndef _PTR_T # define _PTR_T typedef void * ptr_t; # endif -# define PARAMS(x) x #else # ifndef _PTR_T # define _PTR_T typedef char * ptr_t; # endif -# define PARAMS(x) () #endif #include <fcntl.h> |