diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-11-24 21:06:38 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-11-24 21:06:38 +0100 |
commit | d58d8413ca908febbdeba92231bd17dc1dccbe04 (patch) | |
tree | 424b762b303741cadb38e9deea7a874e5bc83bcf | |
parent | f58a8c2df355f807e21dc678ff6cbe7042308819 (diff) |
config_parser: hide symbols
Our impl has diverged from busybox' so make sure nobody else uses it.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | include/internal/parse_config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/parse_config.h b/include/internal/parse_config.h index 47a74fa75..ebfb87e5f 100644 --- a/include/internal/parse_config.h +++ b/include/internal/parse_config.h @@ -44,10 +44,14 @@ typedef struct parser_t { size_t line_len; /* length of line */ smalluint allocated; } parser_t; + parser_t* config_open(const char *filename) FAST_FUNC attribute_hidden; +libc_hidden_proto(config_open) int config_read(parser_t *parser, char ***tokens, unsigned flags, const char *delims) FAST_FUNC attribute_hidden; +libc_hidden_proto(config_read) #define config_read(parser, tokens, max, min, str, flags) \ config_read(parser, tokens, ((flags) | (((min) & 0xFF) << 8) | ((max) & 0xFF)), str) void config_close(parser_t *parser) FAST_FUNC attribute_hidden; +libc_hidden_proto(config_close) #endif /* __INTERNAL_PARSE_CONFIG_H */ |