summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-03-11 15:06:37 +0100
committerJim Meyering <meyering@redhat.com>2010-03-11 15:38:19 +0100
commitbed24c8e8adf8635f407e3bdb516174d85f78016 (patch)
tree20c466be581dd77d7034dd086950557e37270e40 /src/system.h
parentbedc0229b071ff536a631462e74113913f4c645f (diff)
downloadgrep-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.h3
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>