summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCraig Barnes <Cr@igBarn.es>2014-11-16 09:19:41 +0000
committerCraig Barnes <Cr@igBarn.es>2014-11-16 09:19:41 +0000
commit386e1ba185d1e51a5ada2b61e524b19d8e7a288b (patch)
treebe0af8d9a9940cd29577e01704a1adb67c593ef5 /src
parent2db928d9a6faec16182ec494d3c0cd3424a03d4e (diff)
Rename include guards for consistency and to avoid reserved identifiers
Diffstat (limited to 'src')
-rw-r--r--src/bench.h6
-rw-r--r--src/buffer.h4
-rw-r--r--src/chunk.h4
-rw-r--r--src/cmark.h4
-rw-r--r--src/debug.h4
-rw-r--r--src/html/houdini.h4
-rw-r--r--src/inlines.h4
-rw-r--r--src/references.h4
-rw-r--r--src/utf8.h4
9 files changed, 20 insertions, 18 deletions
diff --git a/src/bench.h b/src/bench.h
index 13d8aa4..bbea2c6 100644
--- a/src/bench.h
+++ b/src/bench.h
@@ -1,5 +1,6 @@
-#ifndef __BENCH_H__
-#define __BENCH_H__
+#ifndef CMARK_BENCH_H
+#define CMARK_BENCH_H
+
#include <stdio.h>
#include <time.h>
@@ -22,4 +23,5 @@ float _cmark_save_time;
#define start_timer()
#define end_timer(M)
#endif
+
#endif
diff --git a/src/buffer.h b/src/buffer.h
index 7dfc600..17a9f09 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -1,5 +1,5 @@
-#ifndef INCLUDE_buffer_h__
-#define INCLUDE_buffer_h__
+#ifndef CMARK_BUFFER_H
+#define CMARK_BUFFER_H
#include <stdbool.h>
#include <stddef.h>
diff --git a/src/chunk.h b/src/chunk.h
index e4a57b2..d0ffb92 100644
--- a/src/chunk.h
+++ b/src/chunk.h
@@ -1,5 +1,5 @@
-#ifndef _CHUNK_H_
-#define _CHUNK_H_
+#ifndef CMARK_CHUNK_H
+#define CMARK_CHUNK_H
#include <string.h>
#include <ctype.h>
diff --git a/src/cmark.h b/src/cmark.h
index 65e8cfc..c8c7e8d 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -1,5 +1,5 @@
-#ifndef _CMARK_H_
-#define _CMARK_H_
+#ifndef CMARK_H
+#define CMARK_H
#include <stdbool.h>
#include <stdio.h>
diff --git a/src/debug.h b/src/debug.h
index af1d017..fd2ef62 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -1,5 +1,5 @@
-#ifndef __debug_h__
-#define __debug_h__
+#ifndef CMARK_DEBUG_H
+#define CMARK_DEBUG_H
#include <stdio.h>
#include <errno.h>
#include <string.h>
diff --git a/src/html/houdini.h b/src/html/houdini.h
index 5fd690d..b8ed0d9 100644
--- a/src/html/houdini.h
+++ b/src/html/houdini.h
@@ -1,5 +1,5 @@
-#ifndef __HOUDINI_H__
-#define __HOUDINI_H__
+#ifndef CMARK_HOUDINI_H
+#define CMARK_HOUDINI_H
#ifdef __cplusplus
extern "C" {
diff --git a/src/inlines.h b/src/inlines.h
index 57daea2..ae2117e 100644
--- a/src/inlines.h
+++ b/src/inlines.h
@@ -1,5 +1,5 @@
-#ifndef _INLINES_H_
-#define _INLINES_H_
+#ifndef CMARK_INLINES_H
+#define CMARK_INLINES_H
unsigned char *cmark_clean_url(cmark_chunk *url);
unsigned char *cmark_clean_title(cmark_chunk *title);
diff --git a/src/references.h b/src/references.h
index c4ca6df..cd58614 100644
--- a/src/references.h
+++ b/src/references.h
@@ -1,5 +1,5 @@
-#ifndef _REFERENCES_H_
-#define _REFERENCES_H_
+#ifndef CMARK_REFERENCES_H
+#define CMARK_REFERENCES_H
#define REFMAP_SIZE 16
diff --git a/src/utf8.h b/src/utf8.h
index 7584761..ecefa4e 100644
--- a/src/utf8.h
+++ b/src/utf8.h
@@ -1,5 +1,5 @@
-#ifndef _H_cmark_UTF8_
-#define _H_cmark_UTF8_
+#ifndef CMARK_UTF8_H
+#define CMARK_UTF8_H
#include <stdint.h>
#include "buffer.h"