diff options
author | Jim Meyering <jim@meyering.net> | 2005-03-28 18:05:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-03-28 18:05:28 +0000 |
commit | e1a595d52115aa7e990b5019186a3de3ad7fe494 (patch) | |
tree | 03a1d0bcb779d24b8bcbb5fae01dbf33f479501d /src/md5sum.c | |
parent | 3a9a4b335f4db2680e875f0c4eb00c4f74b73d45 (diff) | |
download | coreutils-e1a595d52115aa7e990b5019186a3de3ad7fe494.tar.xz |
(long_options): Use NULL, not `0'.
Diffstat (limited to 'src/md5sum.c')
-rw-r--r-- | src/md5sum.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/md5sum.c b/src/md5sum.c index d2efd5e2c..bc017f5f5 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -1,5 +1,5 @@ /* Compute MD5 or SHA1 checksum of files or strings - Copyright (C) 1995-2004 Free Software Foundation, Inc. + Copyright (C) 1995-2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -110,11 +110,11 @@ enum static const struct option long_options[] = { - { "binary", no_argument, 0, 'b' }, - { "check", no_argument, 0, 'c' }, - { "status", no_argument, 0, STATUS_OPTION }, - { "text", no_argument, 0, 't' }, - { "warn", no_argument, 0, 'w' }, + { "binary", no_argument, NULL, 'b' }, + { "check", no_argument, NULL, 'c' }, + { "status", no_argument, NULL, STATUS_OPTION }, + { "text", no_argument, NULL, 't' }, + { "warn", no_argument, NULL, 'w' }, { GETOPT_HELP_OPTION_DECL }, { GETOPT_VERSION_OPTION_DECL }, { NULL, 0, NULL, 0 } |