]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/defs.h
* defs.h (make_cleanup): Change PTR to void * when inside PARAMS.
[thirdparty/binutils-gdb.git] / gdb / defs.h
index f7b3d6129cd40238a18f15fa1d07232d5efb6121..4791f3abd05e6d48c2a295691e0957b866e914d4 100644 (file)
@@ -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,