# HG changeset patch # User Jim Meyering # Date 1194708691 -3600 # Node ID 1388aa25dd3d48510183db29b15d9fad2d50211d # Parent 7bbddc0fae4a3af21e57dd593101b027ea27b7b4 Avoid link failure for the argmatch test. * tests/test-argmatch.c (usage): Define function to avoid a link failure: argmatch_die requires a usage function. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-11-10 Jim Meyering + + Avoid link failure for the argmatch test. + * tests/test-argmatch.c (usage): Define function to avoid a link + failure: argmatch_die requires a usage function. + 2007-11-09 Bruno Haible * doc/functions/snprintf.texi: Mention BeOS deficiency. diff --git a/tests/test-argmatch.c b/tests/test-argmatch.c --- a/tests/test-argmatch.c +++ b/tests/test-argmatch.c @@ -62,6 +62,11 @@ numbered_backups, numbered_backups, numbered_backups }; +void +usage (void) +{ +} + int main (int argc, char *argv[]) {