mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-15 03:48:11 +08:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user