aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--argp/argp-fmtstream.c2
-rw-r--r--argp/argp-help.c34
-rw-r--r--argp/argp-parse.c44
-rw-r--r--catgets/gencat.c2
-rw-r--r--debug/backtracesyms.c2
-rw-r--r--elf/dl-find_object.c2
-rw-r--r--elf/dl-load.c4
-rw-r--r--elf/dl-load.h2
-rw-r--r--elf/dl-lookup.c2
-rw-r--r--elf/dl-minimal-malloc.c4
-rw-r--r--elf/dl-tunables.c4
-rw-r--r--elf/dynamic-link.h2
-rw-r--r--elf/readlib.c2
-rw-r--r--elf/tlsdeschtab.h6
-rw-r--r--hesiod/hesiod.c6
-rw-r--r--inet/rcmd.c12
-rw-r--r--inet/rexec.c2
-rw-r--r--inet/ruserpass.c4
-rw-r--r--libio/fileops.c2
-rw-r--r--libio/genops.c6
-rw-r--r--libio/iopopen.c2
-rw-r--r--libio/libioP.h5
-rw-r--r--libio/wfileops.c2
-rw-r--r--libio/wgenops.c2
-rw-r--r--locale/programs/xmalloc.c12
-rw-r--r--locale/setlocale.c2
-rw-r--r--locale/uselocale.c2
-rw-r--r--malloc/arena.c14
-rw-r--r--malloc/malloc-check.c4
-rw-r--r--malloc/malloc.c56
-rw-r--r--malloc/obstack.c16
-rw-r--r--malloc/reallocarray.c2
-rw-r--r--misc/getttyent.c2
-rw-r--r--misc/sbrk.c2
-rw-r--r--nis/nis_server.c2
-rw-r--r--nptl/pthread_create.c2
-rw-r--r--nptl_db/fetch-value.c2
-rw-r--r--nptl_db/td_init.c2
-rw-r--r--nptl_db/td_ta_clear_event.c2
-rw-r--r--nptl_db/td_ta_event_getmsg.c6
-rw-r--r--nptl_db/td_ta_map_lwp2thr.c8
-rw-r--r--nptl_db/td_ta_set_event.c2
-rw-r--r--nptl_db/td_ta_thr_iter.c10
-rw-r--r--nptl_db/td_ta_tsd_iter.c2
-rw-r--r--nptl_db/td_thr_event_enable.c2
-rw-r--r--nptl_db/td_thr_event_getmsg.c6
-rw-r--r--nptl_db/td_thr_get_info.c16
-rw-r--r--nptl_db/td_thr_getfpregs.c2
-rw-r--r--nptl_db/td_thr_getgregs.c2
-rw-r--r--nptl_db/td_thr_setfpregs.c2
-rw-r--r--nptl_db/td_thr_setgregs.c2
-rw-r--r--nptl_db/td_thr_tlsbase.c10
-rw-r--r--nptl_db/td_thr_tsd.c6
-rw-r--r--nptl_db/td_thr_validate.c10
-rw-r--r--nptl_db/thread_dbP.h6
-rw-r--r--nss/getaddrinfo.c4
-rw-r--r--posix/getopt.c2
-rw-r--r--posix/regcomp.c2
-rw-r--r--posix/regexec.c2
-rw-r--r--resolv/base64.c2
-rw-r--r--resolv/compat-gethnamaddr.c2
-rw-r--r--resolv/res_debug.c6
-rw-r--r--resolv/res_hconf.c14
-rw-r--r--stdio-common/iovfscanf.c2
-rw-r--r--string/argz-delete.c2
-rw-r--r--string/argz-extract.c2
-rw-r--r--string/argz-replace.c8
-rw-r--r--string/argz.h2
-rw-r--r--string/envz.c4
-rw-r--r--sunrpc/clnt_raw.c6
-rw-r--r--sunrpc/clnt_simp.c4
-rw-r--r--sunrpc/key_call.c2
-rw-r--r--sunrpc/svc_raw.c12
-rw-r--r--sunrpc/svc_simple.c2
-rw-r--r--sunrpc/xdr_mem.c2
-rw-r--r--sunrpc/xdr_sizeof.c4
-rw-r--r--sunrpc/xdr_stdio.c2
-rw-r--r--support/blob_repeat.c14
-rw-r--r--support/shell-container.c4
-rw-r--r--support/support_openpty.c2
-rw-r--r--support/support_set_vma_name_supported.c2
-rw-r--r--support/support_stack_alloc.c2
-rw-r--r--support/test-container.c2
-rw-r--r--support/xsigstack.c2
-rw-r--r--sysdeps/posix/system.c2
-rw-r--r--sysdeps/unix/sysv/linux/brk.c2
-rw-r--r--sysdeps/unix/sysv/linux/dl-early_allocate.c2
-rw-r--r--sysdeps/unix/sysv/linux/dl-sysdep.c2
-rw-r--r--sysdeps/unix/sysv/linux/gettimeofday.c4
-rw-r--r--sysdeps/unix/sysv/linux/settimeofday.c4
-rw-r--r--sysdeps/unix/sysv/linux/sigwait.c2
-rw-r--r--sysdeps/unix/sysv/linux/sigwaitinfo.c2
-rw-r--r--sysdeps/unix/sysv/linux/spawni.c8
-rw-r--r--sysdeps/x86/nptl/bits/struct_mutex.h2
-rw-r--r--timezone/zic.c6
-rw-r--r--wctype/wctrans.c2
-rw-r--r--wctype/wctrans_l.c2
97 files changed, 263 insertions, 262 deletions
diff --git a/argp/argp-fmtstream.c b/argp/argp-fmtstream.c
index eb0a886c72..35b5b1d0fe 100644
--- a/argp/argp-fmtstream.c
+++ b/argp/argp-fmtstream.c
@@ -74,7 +74,7 @@ __argp_make_fmtstream (FILE *stream,
if (! fs->buf)
{
free (fs);
- fs = 0;
+ fs = NULL;
}
else
{
diff --git a/argp/argp-help.c b/argp/argp-help.c
index cc43f376d4..5c41fdcd59 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -443,7 +443,7 @@ make_hol (const struct argp *argp, struct hol_cluster *cluster)
assert (hol);
hol->num_entries = 0;
- hol->clusters = 0;
+ hol->clusters = NULL;
if (opts)
{
@@ -615,7 +615,7 @@ static char
hol_entry_first_short (const struct hol_entry *entry)
{
return hol_entry_short_iterate (entry, until_short,
- entry->argp->argp_domain, 0);
+ entry->argp->argp_domain, NULL);
}
/* Returns the first valid long option in ENTRY, or NULL if there is none. */
@@ -627,7 +627,7 @@ hol_entry_first_long (const struct hol_entry *entry)
for (opt = entry->opt, num = entry->num; num > 0; opt++, num--)
if (opt->name && ovisible (opt))
return opt->name;
- return 0;
+ return NULL;