summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-08 19:10:29 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:31 -0500
commit61bf9cc5fe5153f40214c5c057487e31eac3a502 (patch)
tree7b932ba91fa843751b8afaa56b1b9aa01181af73 /src
parent612b7d2193b96cbe4a938687421be7e48c0eb6d1 (diff)
downloadperk-61bf9cc5fe5153f40214c5c057487e31eac3a502.tar.bz2
perk-61bf9cc5fe5153f40214c5c057487e31eac3a502.tar.xz
internal headers: fix encapsulating macros.
Diffstat (limited to 'src')
-rw-r--r--src/internal/perk_output_impl.h5
-rw-r--r--src/internal/perk_reader_impl.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/internal/perk_output_impl.h b/src/internal/perk_output_impl.h
index 62f0322..0fd3c53 100644
--- a/src/internal/perk_output_impl.h
+++ b/src/internal/perk_output_impl.h
@@ -1,3 +1,6 @@
+#ifndef PE_OUTPUT_IMPL_H
+#define PE_OUTPUT_IMPL_H
+
#include <unistd.h>
#include <perk/perk.h>
@@ -33,3 +36,5 @@ static inline int pe_output_epilog(int ret, FILE * f)
fclose(f);
return ret;
}
+
+#endif
diff --git a/src/internal/perk_reader_impl.h b/src/internal/perk_reader_impl.h
index bda7581..9098561 100644
--- a/src/internal/perk_reader_impl.h
+++ b/src/internal/perk_reader_impl.h
@@ -1,5 +1,5 @@
-#ifndef PERK_IMPL_H
-#define PERK_IMPL_H
+#ifndef PERK_READER_IMPL_H
+#define PERK_READER_IMPL_H
#include <stdint.h>
#include <endian.h>