OSDN Git Service

config_parser: hide symbols
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 24 Nov 2010 20:06:38 +0000 (21:06 +0100)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 24 Nov 2010 20:06:38 +0000 (21:06 +0100)
Our impl has diverged from busybox' so make sure nobody else uses it.

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
include/internal/parse_config.h

index 47a74fa..ebfb87e 100644 (file)
@@ -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 */