From: Jim Meyering Date: Sat, 16 Jan 1999 16:20:02 +0000 (+0000) Subject: (usage): Remove `static'. X-Git-Tag: TEXTUTILS-1_22h~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e83f9789c28908ce427b7fadb686b60477e4a95;p=thirdparty%2Fcoreutils.git (usage): Remove `static'. Use function-style XARGMATCH. --- diff --git a/src/touch.c b/src/touch.c index 0fede518dc..9a366c274f 100644 --- a/src/touch.c +++ b/src/touch.c @@ -190,7 +190,7 @@ touch (char *file) return 0; } -static void +void usage (int status) { if (status != 0) @@ -285,12 +285,8 @@ main (int argc, char **argv) break; case CHAR_MAX + 1: /* --time */ - { - int mask; - XARGMATCH (&mask, "--time", optarg, time_args, time_masks, - usage (1)); - change_times |= mask; - } + change_times |= XARGMATCH ("--time", optarg, + time_args, time_masks); break; default: