From: Jim Meyering Date: Mon, 28 Mar 2005 18:05:28 +0000 (+0000) Subject: (long_options): Use NULL, not `0'. X-Git-Tag: CPPI-1_12~1190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1a595d52115aa7e990b5019186a3de3ad7fe494;p=thirdparty%2Fcoreutils.git (long_options): Use NULL, not `0'. --- diff --git a/src/md5sum.c b/src/md5sum.c index d2efd5e2cb..bc017f5f52 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 }