]> diplodocus.org Git - nmh/blobdiff - sbr/ext_hook.c
Replaced use of snprintf() with memcpy()/memmove().
[nmh] / sbr / ext_hook.c
index 8a4a91b3b421b9b1c5b20e9c2f99a9d875c33ac2..cbd0f1af74010bdb970776e07081c501024e4947 100644 (file)
@@ -7,6 +7,10 @@
  */
 
 #include "h/mh.h"
+#include "ext_hook.h"
+#include "context_find.h"
+#include "pidstatus.h"
+#include "arglist.h"
 #include "error.h"
 
 int
@@ -17,7 +21,7 @@ ext_hook(char *hook_name, char *message_file_name_1, char *message_file_name_2)
     int                status;                 /* exit or other child process status */
     char       **vec;                  /* argument vector for child process */
     int                vecp;                   /* Vector index */
-    char       *program;               /* Name of program to execute */
+    char       *program;               /* Name of program to execute */
 
     static bool        did_message;            /* set if we've already output a message */