Move private function to src/str.h

This commit is contained in:
c9s 2015-11-17 21:11:12 +08:00
parent 5e6252d8a3
commit e5ef80a200
3 changed files with 15 additions and 2 deletions

View file

@ -23,8 +23,6 @@ int r3_slug_count(const char * needle, int len, char **errstr);
char * r3_inside_slug(const char * needle, int needle_len, char *offset, char **errstr);
void print_indent(int level);
#ifdef __cplusplus
}
#endif

View file

@ -11,6 +11,7 @@
#include <assert.h>
#include "r3.h"
#include "r3_str.h"
#include "str.h"
#include "slug.h"
#include "zmalloc.h"

14
src/str.h Normal file
View file

@ -0,0 +1,14 @@
#ifndef R3_STR_INTERN_H
#define R3_STR_INTERN_H
#ifdef __cplusplus
extern "C" {
#endif
void print_indent(int level);
#ifdef __cplusplus
}
#endif
#endif