diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:39:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:39:01 +0000 |
commit | 0feb9db220a276a2f8f29621dc8f04072bbfdd22 (patch) | |
tree | 926d3ec04fbe095eb6465e66c25c10c46aebd62c /gl/lib/argp-parse.c | |
parent | Releasing progress-linux version 2.12.0-4~progress7.99u1. (diff) | |
download | man-db-0feb9db220a276a2f8f29621dc8f04072bbfdd22.tar.xz man-db-0feb9db220a276a2f8f29621dc8f04072bbfdd22.zip |
Merging upstream version 2.12.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gl/lib/argp-parse.c')
-rw-r--r-- | gl/lib/argp-parse.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gl/lib/argp-parse.c b/gl/lib/argp-parse.c index fb349b0..0d00e89 100644 --- a/gl/lib/argp-parse.c +++ b/gl/lib/argp-parse.c @@ -1,5 +1,5 @@ /* Hierarchical argument parsing, layered over getopt - Copyright (C) 1995-2023 Free Software Foundation, Inc. + Copyright (C) 1995-2024 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Miles Bader <miles@gnu.ai.mit.edu>. @@ -367,9 +367,9 @@ convert_options (const struct argp *argp, group->args_processed = 0; group->parent = parent; group->parent_index = parent_index; - group->input = 0; - group->hook = 0; - group->child_inputs = 0; + group->input = NULL; + group->hook = NULL; + group->child_inputs = NULL; if (children) /* Assign GROUP's CHILD_INPUTS field some space from @@ -385,7 +385,7 @@ convert_options (const struct argp *argp, parent = group++; } else - parent = 0; + parent = NULL; if (children) { @@ -923,7 +923,7 @@ __argp_parse (const struct argp *argp, int argc, char **argv, unsigned flags, (child++)->argp = &argp_default_argp; if (argp_program_version || argp_program_version_hook) (child++)->argp = &argp_version_argp; - child->argp = 0; + child->argp = NULL; argp = top_argp; } @@ -960,7 +960,7 @@ __argp_input (const struct argp *argp, const struct argp_state *state) return group->input; } - return 0; + return NULL; } #ifdef weak_alias weak_alias (__argp_input, _argp_input) |