gcc -Wall lint.
authorStan Shebs <shebs@codesourcery.com>
Thu, 2 Feb 1995 00:10:50 +0000 (00:10 +0000)
committerStan Shebs <shebs@codesourcery.com>
Thu, 2 Feb 1995 00:10:50 +0000 (00:10 +0000)
commite3be225eb4b1f6317662be790f67ca8e291ef64f
tree68e78618758253b8e20ba9746bb4e5c4c94f4f6e
parentadad95c056f31cd63195cb554ce084546771c9b9
gcc -Wall lint.
* alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
(after_prologue): Remove unused local b.
* procfs.c (thread.h): Include.
(pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
nested braces in initializer.
* top.c (initialize_targets, initialize_utils): Declare.
(locate_arg, insert_args): Add parens around tested assignments.
* remote-utils.c (sr_scan_args): Remove decl of strtol.
* remote.c (thread.h): Include.
(remote_wait): Remove unused local p2.
* sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
registers array.

defs.h (stdlib.h): Include.
(exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
(fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
strtok, strerror): Don't specify parameter types in declaration.
gdb/ChangeLog
gdb/alpha-tdep.c
gdb/defs.h
gdb/procfs.c
gdb/remote-utils.c
gdb/top.c