aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ast.h2
-rw-r--r--src/blocks.c1
-rw-r--r--src/cmark.h2
3 files changed, 1 insertions, 4 deletions
diff --git a/src/ast.h b/src/ast.h
index 0640f88..53620c8 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -11,8 +11,6 @@
extern "C" {
#endif
-#define CMARK_VERSION "0.1"
-#define CMARK_CODE_INDENT 4
#define REFMAP_SIZE 16
#define CMARK_MAX_LINK_LABEL_LENGTH 1000
diff --git a/src/blocks.c b/src/blocks.c
index f95e94e..22545b5 100644
--- a/src/blocks.c
+++ b/src/blocks.c
@@ -14,6 +14,7 @@
#include "buffer.h"
#include "debug.h"
+#define CODE_INDENT 4
#define peek_at(i, n) (i)->data[n]
static node_block* make_block(cmark_block_tag tag, int start_line, int start_column)
diff --git a/src/cmark.h b/src/cmark.h
index f87044a..b214aed 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -9,7 +9,6 @@ extern "C" {
#endif
#define CMARK_VERSION "0.1"
-#define CMARK_CODE_INDENT 4
#define CMARK_MAX_LINK_LABEL_LENGTH 1000
typedef struct cmark_node_inl cmark_node_inl;
@@ -54,7 +53,6 @@ void cmark_free_inlines(cmark_node_inl* e);
#ifndef CMARK_NO_SHORT_NAMES
#define VERSION CMARK_VERSION
- #define CODE_INDENT CMARK_CODE_INDENT
#define MAX_LINK_LABEL_LENGTH CMARK_MAX_LINK_LABEL_LENGTH
#define node_inl cmark_node_inl
#define INL_STRING CMARK_INL_STRING