summaryrefslogtreecommitdiff
path: root/src/chown.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-28 17:46:55 +0000
committerJim Meyering <jim@meyering.net>2005-03-28 17:46:55 +0000
commit60d48be63ce904f01c7d249aebe8da44deddc31b (patch)
tree152b8d6132cf8f3cbd691788fc5325effee6c602 /src/chown.c
parentaeff09196aa15f611b5e5de6006025c189d9dd48 (diff)
downloadcoreutils-60d48be63ce904f01c7d249aebe8da44deddc31b.tar.xz
(long_options): Use NULL, not `0'.
Diffstat (limited to 'src/chown.c')
-rw-r--r--src/chown.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/chown.c b/src/chown.c
index 11a44f53f..ba0a08b56 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -1,5 +1,5 @@
/* chown -- change user and group ownership of files
- Copyright (C) 89, 90, 91, 1995-2004 Free Software Foundation, Inc.
+ Copyright (C) 89, 90, 91, 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
@@ -67,20 +67,20 @@ enum
static struct option const long_options[] =
{
- {"recursive", no_argument, 0, 'R'},
- {"changes", no_argument, 0, 'c'},
- {"dereference", no_argument, 0, DEREFERENCE_OPTION},
- {"from", required_argument, 0, FROM_OPTION},
- {"no-dereference", no_argument, 0, 'h'},
- {"no-preserve-root", no_argument, 0, NO_PRESERVE_ROOT},
- {"preserve-root", no_argument, 0, PRESERVE_ROOT},
- {"quiet", no_argument, 0, 'f'},
- {"silent", no_argument, 0, 'f'},
- {"reference", required_argument, 0, REFERENCE_FILE_OPTION},
- {"verbose", no_argument, 0, 'v'},
+ {"recursive", no_argument, NULL, 'R'},
+ {"changes", no_argument, NULL, 'c'},
+ {"dereference", no_argument, NULL, DEREFERENCE_OPTION},
+ {"from", required_argument, NULL, FROM_OPTION},
+ {"no-dereference", no_argument, NULL, 'h'},
+ {"no-preserve-root", no_argument, NULL, NO_PRESERVE_ROOT},
+ {"preserve-root", no_argument, NULL, PRESERVE_ROOT},
+ {"quiet", no_argument, NULL, 'f'},
+ {"silent", no_argument, NULL, 'f'},
+ {"reference", required_argument, NULL, REFERENCE_FILE_OPTION},
+ {"verbose", no_argument, NULL, 'v'},
{GETOPT_HELP_OPTION_DECL},
{GETOPT_VERSION_OPTION_DECL},
- {0, 0, 0, 0}
+ {NULL, 0, NULL, 0}
};
void