]> diplodocus.org Git - nmh/blobdiff - sbr/ext_hook.c
Replaced use of snprintf() with memcpy()/memmove().
[nmh] / sbr / ext_hook.c
index 1ee9c170685867263b90672e6d5f5809ab328607..cbd0f1af74010bdb970776e07081c501024e4947 100644 (file)
@@ -6,7 +6,11 @@
  *     Only produce the error message once.
  */
 
-#include <h/mh.h>
+#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 */