- Commit
- 8ceba9fbde543f3b1711c0ebf476f16d3b606da5
- Parent
- f90f2567a0ef0bfed119c19d9281c8c5d68d78c3
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Remove leftover includes of memory.h.
Closes #290.
My personal build of CMark ✏️
Remove leftover includes of memory.h.
Closes #290.
7 files changed, 0 insertions, 7 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/buffer.c | 1 | 0 | 1 |
Modified | src/chunk.h | 1 | 0 | 1 |
Modified | src/iterator.h | 1 | 0 | 1 |
Modified | src/main.c | 1 | 0 | 1 |
Modified | src/parser.h | 1 | 0 | 1 |
Modified | src/references.h | 1 | 0 | 1 |
Modified | src/render.h | 1 | 0 | 1 |
diff --git 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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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;