tests: avoid compilation warnings in argmatch and exclude tests...
authorJim Meyering <meyering@redhat.com>
Fri, 11 Jun 2010 07:50:29 +0000 (09:50 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 11 Jun 2010 08:30:51 +0000 (10:30 +0200)
commitd4ee8943cf24b460e938e903c0bfaaaf25706fe9
tree11a8841a5b9fee648b82f3eedaf0b5f6c2bc7f51
parent84746b2f407af414344b9e6a611edd2e42ceeec6
tests: avoid compilation warnings in argmatch and exclude tests...

in packages that define ARGMATCH_DIE_DECL, like coreutils.
* tests/test-exclude.c [ARGMATCH_DIE_DECL]: Also declare the function.
Since it always exits, declare with the "noreturn" attribute.
* tests/test-argmatch.c: Likewise.
ChangeLog
tests/test-argmatch.c
tests/test-exclude.c