mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
Fix make_cleanup_dtor signature to match declaration
The definition does not use the typedef for the dtor function pointer type that the declaration uses. It's a cosmetic-only change. ChangeLog: * common/cleanups.c (make_cleanup_dtor): Use typedef for dtor type.
This commit is contained in:
parent
2d7bb7580a
commit
75783939d7
@ -1,3 +1,8 @@
|
||||
2014-12-03 Simon Marchi <simon.marchi@ericsson.com>
|
||||
|
||||
* common/cleanups.c (make_cleanup_dtor): Use typedef for dtor
|
||||
type.
|
||||
|
||||
2014-12-02 Doug Evans <dje@google.com>
|
||||
|
||||
* symtab.c (symbol_init_cplus_specific): Delete.
|
||||
|
@ -124,7 +124,7 @@ make_cleanup (make_cleanup_ftype *function, void *arg)
|
||||
|
||||
struct cleanup *
|
||||
make_cleanup_dtor (make_cleanup_ftype *function, void *arg,
|
||||
void (*dtor) (void *))
|
||||
make_cleanup_dtor_ftype *dtor)
|
||||
{
|
||||
return make_my_cleanup2 (&cleanup_chain,
|
||||
function, arg, dtor);
|
||||
|
Loading…
Reference in New Issue
Block a user