From 67ffa4662ff4d8ec50df7a397fbf1eff46da4408 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 10 Nov 2007 16:31:31 +0100 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ tests/test-argmatch.c | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 09587c1c71..1190f186d4 100644 --- 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 index 6aa5fd8382..3d6f968cf8 100644 --- a/tests/test-argmatch.c +++ b/tests/test-argmatch.c @@ -62,6 +62,11 @@ static const enum backup_type backup_vals[] = numbered_backups, numbered_backups, numbered_backups }; +void +usage (void) +{ +} + int main (int argc, char *argv[]) { -- 2.30.2