summaryrefslogtreecommitdiff
path: root/src/stty.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1992-12-02 18:51:53 +0000
committerJim Meyering <jim@meyering.net>1992-12-02 18:51:53 +0000
commit9d2ef3292f106ad2a374780c001fcf844ef62144 (patch)
tree94ad8796ff3d289f38c912e3750780f72f5d71a5 /src/stty.c
parent60edc4537b04bb59858ba135063e0f09c0296feb (diff)
downloadcoreutils-9d2ef3292f106ad2a374780c001fcf844ef62144.tar.xz
Convert static declarations of struct option to use new macros from
getopt.h: no_argument, required_argument, and optional_argument.
Diffstat (limited to 'src/stty.c')
-rw-r--r--src/stty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stty.c b/src/stty.c
index f06a9759c..4fb815829 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -361,8 +361,8 @@ static int current_col;
static struct option longopts[] =
{
- {"all", 0, NULL, 'a'},
- {"save", 0, NULL, 'g'},
+ {"all", no_argument, NULL, 'a'},
+ {"save", no_argument, NULL, 'g'},
{NULL, 0, NULL, 0}
};