summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-10-01 21:03:40 -0400
committerJakob Kaivo <jkk@ung.org>2019-10-01 21:03:40 -0400
commit80bdd6e61f2e415a1e024a92692a5f3a49bf7afa (patch)
tree2fd1e554e1863ba10b24681cb573ec6733ccab31
parent94375bb322851a501f96814140916158120997d4 (diff)
protect against multiple inclusion
-rw-r--r--ed.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ed.h b/ed.h
index a9c2e00..bd98908 100644
--- a/ed.h
+++ b/ed.h
@@ -1,3 +1,6 @@
+#ifndef ED_H
+#define ED_H
+
/*
* UNG's Not GNU
*
@@ -101,3 +104,5 @@ void ed_write(intmax_t start, intmax_t end, const char *arg);
void ed_line_number(intmax_t start, intmax_t end, const char *arg);
void ed_shell_escape(intmax_t start, intmax_t end, const char *arg);
void ed_null(intmax_t start, intmax_t end, const char *arg);
+
+#endif