aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-utils.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-02-02 00:10:50 +0000
committerStan Shebs <shebs@codesourcery.com>1995-02-02 00:10:50 +0000
commite3be225eb4b1f6317662be790f67ca8e291ef64f (patch)
tree68e78618758253b8e20ba9746bb4e5c4c94f4f6e /gdb/remote-utils.c
parentadad95c056f31cd63195cb554ce084546771c9b9 (diff)
downloadfsf-binutils-gdb-e3be225eb4b1f6317662be790f67ca8e291ef64f.zip
fsf-binutils-gdb-e3be225eb4b1f6317662be790f67ca8e291ef64f.tar.gz
fsf-binutils-gdb-e3be225eb4b1f6317662be790f67ca8e291ef64f.tar.bz2
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.
Diffstat (limited to 'gdb/remote-utils.c')
-rw-r--r--gdb/remote-utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/remote-utils.c b/gdb/remote-utils.c
index b23aa70..ddd5239 100644
--- a/gdb/remote-utils.c
+++ b/gdb/remote-utils.c
@@ -102,8 +102,6 @@ sr_scan_args(proto, args)
int n;
char *p, *q;
- extern int strtol();
-
/* if no args, then nothing to do. */
if (args == NULL || *args == '\0')
return;