Do not include <config.h> or <sys/types.h>.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 21 Nov 2002 07:19:54 +0000 (07:19 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 21 Nov 2002 07:19:54 +0000 (07:19 +0000)
commitc23539445579d59e0e6c1f37330e346f50c5aef4
tree25de7a2e04bdbe613ec97006cf1bbcb69e239fe7
parent807cacc083db1515f15b8fd2e03333dd69184688
Do not include <config.h> or <sys/types.h>.
Include <stddef.h> instead, since it's all we need for size_t.
(PARAMS): Remove.  All uses removed.
(ARRAY_CARDINALITY): Do not bother to #undef.
(ARRAY_CARDINALITY, ARGMATCH, ARGCASEMATCH, invalid_arg,
ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
Remove unnecessary parentheses.
(ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
Insert necessary parentheses.
(ARGMATCH_CONSTRAINT, ARGMATCH_VERIFY): New macros.
(ARGMATCH_ASSERT): Use ARGMATCH_CONSTRAINT.
lib/argmatch.h