From 75783939d7bd00c4e0086e5b7e536fb88f4e9d27 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 3 Dec 2014 08:56:10 -0500 Subject: 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. --- gdb/common/cleanups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/common') diff --git a/gdb/common/cleanups.c b/gdb/common/cleanups.c index 80271fd..8678114 100644 --- a/gdb/common/cleanups.c +++ b/gdb/common/cleanups.c @@ -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); -- cgit v1.1