aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zed/zed_exec.h
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-06-11 16:25:39 -0400
committerBrian Behlendorf <[email protected]>2020-06-18 12:21:25 -0700
commit60356b1a211a0fcfe7dbd2e1dd280d6fc0170cf0 (patch)
treeca3cd9430efffadd0f1a98994c3d864ce16076b0 /cmd/zed/zed_exec.h
parentc3fe42aabd9f8879500437e2be2968b47e8b6797 (diff)
Add include files for prototypes
Include the header with prototypes in the file that provides definitions as well, to catch any mismatch between prototype and definition. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Arvind Sankar <[email protected]> Closes #10470
Diffstat (limited to 'cmd/zed/zed_exec.h')
-rw-r--r--cmd/zed/zed_exec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/zed/zed_exec.h b/cmd/zed/zed_exec.h
index 69179c92c..4153e5519 100644
--- a/cmd/zed/zed_exec.h
+++ b/cmd/zed/zed_exec.h
@@ -16,6 +16,7 @@
#define ZED_EXEC_H
#include <stdint.h>
+#include "zed_strings.h"
int zed_exec_process(uint64_t eid, const char *class, const char *subclass,
const char *dir, zed_strings_t *zedlets, zed_strings_t *envs,