summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-03-28 17:49:12 +0000
committerJim Meyering <jim@meyering.net>2005-03-28 17:49:12 +0000
commitb2edc18b20f1c829917d703669175fa136986f19 (patch)
tree8ed65a30f5a0be5e0dfd134d0dda0c563badea52
parent6705c313116d8d386a6651599b127e4fce3ce5e9 (diff)
downloadcoreutils-b2edc18b20f1c829917d703669175fa136986f19.tar.xz
(sparse_type_string, reply_args, decode_preserve_arg): Use NULL, not `0'.
-rw-r--r--src/cp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cp.c b/src/cp.c
index 546984997..72d97b295 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -96,7 +96,7 @@ static bool remove_trailing_slashes;
static char const *const sparse_type_string[] =
{
- "never", "auto", "always", 0
+ "never", "auto", "always", NULL
};
static enum Sparse_type const sparse_type[] =
@@ -107,7 +107,7 @@ static enum Sparse_type const sparse_type[] =
/* Valid arguments to the `--reply' option. */
static char const* const reply_args[] =
{
- "yes", "no", "query", 0
+ "yes", "no", "query", NULL
};
/* The values that correspond to the above strings. */
@@ -741,7 +741,7 @@ decode_preserve_arg (char const *arg, struct cp_options *x, bool on_off)
static char const* const preserve_args[] =
{
"mode", "timestamps",
- "ownership", "links", "all", 0
+ "ownership", "links", "all", NULL
};
char *arg_writable = xstrdup (arg);