mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Use void for empty argument list in trace_me
This patch fixes the following error: ../../../git/gdb/gnu-nat.c: In function 'trace_me': ../../../git/gdb/gnu-nat.c:2106:8: error: old-style function definition [-Werror=old-style-definition] gdb: 2014-01-07 Yao Qi <yao@codesourcery.com> * gnu-nat.c (trace_me): Use 'void' for empty argument list.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2014-01-07 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* gnu-nat.c (trace_me): Use 'void' for empty argument list.
|
||||
|
||||
2014-01-07 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* gnu-nat.c (make_inf) Update declaration.
|
||||
|
||||
@@ -2103,7 +2103,7 @@ gnu_create_inferior (struct target_ops *ops,
|
||||
struct inf *inf = cur_inf ();
|
||||
int pid;
|
||||
|
||||
void trace_me ()
|
||||
void trace_me (void)
|
||||
{
|
||||
/* We're in the child; make this process stop as soon as it execs. */
|
||||
inf_debug (inf, "tracing self");
|
||||
|
||||
Reference in New Issue
Block a user