From 9d2ef3292f106ad2a374780c001fcf844ef62144 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 2 Dec 1992 18:51:53 +0000 Subject: Convert static declarations of struct option to use new macros from getopt.h: no_argument, required_argument, and optional_argument. --- src/tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tty.c') diff --git a/src/tty.c b/src/tty.c index 7549149a9..12ead35b0 100644 --- a/src/tty.c +++ b/src/tty.c @@ -36,8 +36,8 @@ static int silent; static struct option const longopts[] = { - {"silent", 0, NULL, 's'}, - {"quiet", 0, NULL, 's'}, + {"silent", no_argument, NULL, 's'}, + {"quiet", no_argument, NULL, 's'}, {NULL, 0, NULL, 0} }; -- cgit v1.2.3-54-g00ecf