summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--Makefile.win2
-rw-r--r--examples/hoedown.c2
-rw-r--r--src/document.c (renamed from src/markdown.c)4
-rw-r--r--src/document.h (renamed from src/markdown.h)8
-rw-r--r--src/html.h2
6 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 0d5801f..172cf08 100644
--- a/Makefile
+++ b/Makefile
@@ -7,11 +7,11 @@ endif
HOEDOWN_SRC=\
src/autolink.o \
src/buffer.o \
+ src/document.o \
src/escape.o \
src/html.o \
src/html_blocks.o \
src/html_smartypants.o \
- src/markdown.o \
src/stack.o
.PHONY: all test test-pl clean
diff --git a/Makefile.win b/Makefile.win
index 27bcc13..a84150f 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -4,11 +4,11 @@ CFLAGS = /O2 /sdl /Isrc /D_CRT_SECURE_NO_WARNINGS
HOEDOWN_SRC = \
src\autolink.obj \
src\buffer.obj \
+ src\document.obj \
src\escape.obj \
src\html.obj \
src\html_blocks.obj \
src\html_smartypants.obj \
- src\markdown.obj \
src\stack.obj
all: hoedown.dll hoedown.exe smartypants.exe
diff --git a/examples/hoedown.c b/examples/hoedown.c
index 0d4a57b..b188e96 100644
--- a/examples/hoedown.c
+++ b/examples/hoedown.c
@@ -1,4 +1,4 @@
-#include "markdown.h"
+#include "document.h"
#include "html.h"
#include <errno.h>
diff --git a/src/markdown.c b/src/document.c
index 3da9207..fcd6bf5 100644
--- a/src/markdown.c
+++ b/src/document.c
@@ -1,6 +1,6 @@
-/* markdown.c - generic markdown parser */
+/* document.c - generic markdown parser */
-#include "markdown.h"
+#include "document.h"
#include <assert.h>
#include <string.h>
diff --git a/src/markdown.h b/src/document.h
index 30c7e2c..9af673b 100644
--- a/src/markdown.h
+++ b/src/document.h
@@ -1,7 +1,7 @@
-/* markdown.h - generic markdown parser */
+/* document.h - generic markdown parser */
-#ifndef HOEDOWN_MARKDOWN_H
-#define HOEDOWN_MARKDOWN_H
+#ifndef HOEDOWN_DOCUMENT_H
+#define HOEDOWN_DOCUMENT_H
#include "buffer.h"
#include "autolink.h"
@@ -133,4 +133,4 @@ hoedown_version(int *major, int *minor, int *revision);
}
#endif
-#endif /** HOEDOWN_MARKDOWN_H **/
+#endif /** HOEDOWN_DOCUMENT_H **/
diff --git a/src/html.h b/src/html.h
index 7660788..9d8a77a 100644
--- a/src/html.h
+++ b/src/html.h
@@ -3,7 +3,7 @@
#ifndef HOEDOWN_HTML_H
#define HOEDOWN_HTML_H
-#include "markdown.h"
+#include "document.h"
#include "buffer.h"
#include <stdlib.h>