entered into RCS
authorroland <roland>
Tue, 5 Apr 1994 03:47:10 +0000 (03:47 +0000)
committerroland <roland>
Tue, 5 Apr 1994 03:47:10 +0000 (03:47 +0000)
set-hooks.h

index 665b12f..c24f49f 100644 (file)
@@ -21,6 +21,7 @@ Cambridge, MA 02139, USA.  */
 
 #define __need_size_t
 #include <stddef.h>
+#include <sys/cdefs.h>
 
 /* Define a hook variable called NAME.  Functions put on this hook take
    arguments described by PROTO.  Use `text_set_element (NAME, FUNCTION)'
@@ -30,7 +31,7 @@ Cambridge, MA 02139, USA.  */
 const struct                                                                 \
   {                                                                          \
     size_t n;                                                                \
-    void (*fn[0]) __P (NAME);                                                \
+    void (*fn[0]) __P (PROTO);                                               \
   } NAME
 
 /* Run all the functions hooked on the set called NAME.