diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2014-11-12 11:45:00 -0800 | 
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-12 11:45:00 -0800 | 
| commit | 2145ef0fe27f1db9a2e6d981df996298d94fbdae (patch) | |
| tree | d4c1b930699c5af44318904fda2299f5697f181e /src/blocks.c | |
| parent | f706feb47054f594bb4585558268264ae7b4346e (diff) | |
| parent | 6846f65f182b9c927ed8db500341a9f403e8df8e (diff) | |
Merge pull request #195 from nwellnhof/fix_namespace_pollution
Fix namespace pollution
Diffstat (limited to 'src/blocks.c')
| -rw-r--r-- | src/blocks.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/blocks.c b/src/blocks.c index ccb84a7..a70f5f8 100644 --- a/src/blocks.c +++ b/src/blocks.c @@ -33,7 +33,7 @@ static node_block* make_block(int tag, int start_line, int start_column)  }  // Create a root document node_block. -extern node_block* make_document() +static node_block* make_document()  {  	node_block *e = make_block(BLOCK_DOCUMENT, 1, 1);  	e->as.document.refmap = reference_map_new(); @@ -43,7 +43,7 @@ extern node_block* make_document()  }  // Returns true if line has only space characters, else false. -bool is_blank(strbuf *s, int offset) +static bool is_blank(strbuf *s, int offset)  {  	while (offset < s->size) {  		switch (s->ptr[offset]) { @@ -283,7 +283,7 @@ typedef struct BlockStack {  // Walk through node_block and all children, recursively, parsing  // string content into inline content where appropriate. -void process_inlines(node_block* cur, reference_map *refmap) +static void process_inlines(node_block* cur, reference_map *refmap)  {  	block_stack* stack = NULL;  	block_stack* newstack = NULL; | 
