summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-10-01 21:04:38 -0400
committerJakob Kaivo <jkk@ung.org>2019-10-01 21:04:38 -0400
commit97f5db42e27a6e969006d6b07362b05c2d50ea1f (patch)
treeb0ba622a843ad8c786fde7f419f076bc00c153b5
parentab6dc14c2ea35d6c1a0415dbfafe7dd503c989db (diff)
protect against multiple inclusion
-rw-r--r--sh.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sh.h b/sh.h
index ba43bac..477226d 100644
--- a/sh.h
+++ b/sh.h
@@ -1,3 +1,6 @@
+#ifndef SH_H
+#define SH_H
+
/*
* UNG's Not GNU
*
@@ -66,3 +69,5 @@ enum { HUP = 1, INT = 2, QUIT = 3, ABRT = 6, KILL = 9, ALRM = 14, TERM = 15 };
void sh_trap(int trapno);
int yyparse(void);
+
+#endif