Thu Jan 18 00:32:43 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
[kopensolaris-gnu/glibc.git] / set-hooks.h
index 30252f2..10d0b10 100644 (file)
@@ -43,7 +43,7 @@ do {                                                                        \
   void *const *ptr;                                                          \
   for (ptr = symbol_set_first_element (NAME);                                \
        ! symbol_set_end_p (NAME, ptr); ++ptr)                                \
-    ((__##NAME##_hook_function_t *) *ptr) ARGS;                                      \
+    (*(__##NAME##_hook_function_t *) *ptr) ARGS;                             \
 } while (0)
 
 /* Define a hook variable with NAME and PROTO, and a function called RUNNER