summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-28 21:29:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-28 21:29:23 -0700
commit8ceba9fbde543f3b1711c0ebf476f16d3b606da5 (patch)
tree5d50af9f284d3fba5c612d5f6e190bd2e5e38b44
parentf90f2567a0ef0bfed119c19d9281c8c5d68d78c3 (diff)
Remove leftover includes of memory.h.
Closes #290.
-rw-r--r--src/buffer.c1
-rw-r--r--src/chunk.h1
-rw-r--r--src/iterator.h1
-rw-r--r--src/main.c1
-rw-r--r--src/parser.h1
-rw-r--r--src/references.h1
-rw-r--r--src/render.h1
7 files changed, 0 insertions, 7 deletions
diff --git a/src/buffer.c b/src/buffer.c
index a237b11..d946493 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -10,7 +10,6 @@
#include "config.h"
#include "cmark_ctype.h"
#include "buffer.h"
-#include "memory.h"
/* Used as default value for cmark_strbuf->ptr so that people can always
* assume ptr is non-NULL and zero terminated even for new cmark_strbufs.
diff --git a/src/chunk.h b/src/chunk.h
index f198be3..6d1601d 100644
--- a/src/chunk.h
+++ b/src/chunk.h
@@ -6,7 +6,6 @@
#include <assert.h>
#include "cmark.h"
#include "buffer.h"
-#include "memory.h"
#include "cmark_ctype.h"
#define CMARK_CHUNK_EMPTY \
diff --git a/src/iterator.h b/src/iterator.h
index fc745df..30ce76f 100644
--- a/src/iterator.h
+++ b/src/iterator.h
@@ -6,7 +6,6 @@ extern "C" {
#endif
#include "cmark.h"
-#include "memory.h"
typedef struct {
cmark_event_type ev_type;
diff --git a/src/main.c b/src/main.c
index 29360dc..ab0d93c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3,7 +3,6 @@
#include <string.h>
#include <errno.h>
#include "config.h"
-#include "memory.h"
#include "cmark.h"
#include "node.h"
diff --git a/src/parser.h b/src/parser.h
index 39e2327..f41f099 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -5,7 +5,6 @@
#include "references.h"
#include "node.h"
#include "buffer.h"
-#include "memory.h"
#ifdef __cplusplus
extern "C" {
diff --git a/src/references.h b/src/references.h
index f075bbb..8d3631f 100644
--- a/src/references.h
+++ b/src/references.h
@@ -1,7 +1,6 @@
#ifndef CMARK_REFERENCES_H
#define CMARK_REFERENCES_H
-#include "memory.h"
#include "chunk.h"
#ifdef __cplusplus
diff --git a/src/render.h b/src/render.h
index 35eb0a6..ab11039 100644
--- a/src/render.h
+++ b/src/render.h
@@ -8,7 +8,6 @@ extern "C" {
#include <stdlib.h>
#include "buffer.h"
#include "chunk.h"
-#include "memory.h"
typedef enum { LITERAL, NORMAL, TITLE, URL } cmark_escaping;