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.
This commit is contained in:
parent
adad95c056
commit
e3be225eb4
6 changed files with 155 additions and 185 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue