diff options
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h index f7b3d6129c..4791f3abd0 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -180,7 +180,7 @@ discard_cleanups PARAMS ((struct cleanup *)); Should be, once all calls and called-functions are cleaned up: extern struct cleanup * -make_cleanup PARAMS ((void (*function) (PTR), PTR)); +make_cleanup PARAMS ((void (*function) (void *), void *)); Until then, lint and/or various type-checking compiler options will complain about make_cleanup calls. It'd be wrong to just cast things, |