about summary refs log tree commit diff
path: root/include/set-hooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/set-hooks.h')
-rw-r--r--include/set-hooks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/set-hooks.h b/include/set-hooks.h
index 1666485e50..f4d7246567 100644
--- a/include/set-hooks.h
+++ b/include/set-hooks.h
@@ -42,7 +42,7 @@
 
 # define RUN_HOOK(NAME, ARGS) \
 do {									   \
-  void *const *ptr;							   \
+  void (*const *ptr) (void);						   \
   for (ptr = symbol_set_first_element (NAME);				   \
        ! symbol_set_end_p (NAME, ptr); ++ptr)				   \
     (*(__##NAME##_hook_function_t *) *ptr) ARGS;			   \