diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 0db1658f4..3a7c2eee9 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -618,7 +618,7 @@ extern char *xmalloc_fgets(FILE *file) FAST_FUNC; | |||
618 | /* Chops off '\n' from the end, unlike fgets: */ | 618 | /* Chops off '\n' from the end, unlike fgets: */ |
619 | extern char *xmalloc_fgetline(FILE *file) FAST_FUNC; | 619 | extern char *xmalloc_fgetline(FILE *file) FAST_FUNC; |
620 | /* Same, but doesn't try to conserve space (may have some slack after the end) */ | 620 | /* Same, but doesn't try to conserve space (may have some slack after the end) */ |
621 | extern char *xmalloc_fgetline_fast(FILE *file) FAST_FUNC; | 621 | /* extern char *xmalloc_fgetline_fast(FILE *file) FAST_FUNC; */ |
622 | 622 | ||
623 | extern void die_if_ferror(FILE *file, const char *msg) FAST_FUNC; | 623 | extern void die_if_ferror(FILE *file, const char *msg) FAST_FUNC; |
624 | extern void die_if_ferror_stdout(void) FAST_FUNC; | 624 | extern void die_if_ferror_stdout(void) FAST_FUNC; |
@@ -1006,6 +1006,7 @@ typedef struct parser_t { | |||
1006 | } parser_t; | 1006 | } parser_t; |
1007 | extern FILE* config_open(parser_t *parser, const char *filename) FAST_FUNC; | 1007 | extern FILE* config_open(parser_t *parser, const char *filename) FAST_FUNC; |
1008 | #endif | 1008 | #endif |
1009 | /* TODO: add define magic to collapse ntokens/mintokens/comment into one int param */ | ||
1009 | extern char* config_read(parser_t *parser, char **tokens, int ntokens, int mintokens, const char *delims, char comment) FAST_FUNC; | 1010 | extern char* config_read(parser_t *parser, char **tokens, int ntokens, int mintokens, const char *delims, char comment) FAST_FUNC; |
1010 | extern void config_close(parser_t *parser) FAST_FUNC; | 1011 | extern void config_close(parser_t *parser) FAST_FUNC; |
1011 | 1012 | ||