=================================================================== RCS file: /cvs/mandoc/tag.c,v retrieving revision 1.6 retrieving revision 1.8 diff -u -p -r1.6 -r1.8 --- mandoc/tag.c 2015/07/28 18:38:55 1.6 +++ mandoc/tag.c 2015/10/06 18:32:20 1.8 @@ -1,4 +1,4 @@ -/* $Id: tag.c,v 1.6 2015/07/28 18:38:55 schwarze Exp $ */ +/* $Id: tag.c,v 1.8 2015/10/06 18:32:20 schwarze Exp $ */ /* * Copyright (c) 2015 Ingo Schwarze * @@ -14,10 +14,13 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "config.h" + #include #include #include +#include #include #include #include @@ -94,7 +97,7 @@ tag_init(void) tag_info.key_offset = offsetof(struct tag_entry, s); tag_info.data = NULL; ohash_init(&tag_data, 4, &tag_info); - return(&tag_files); + return &tag_files; fail: tag_unlink(); @@ -108,7 +111,7 @@ fail: *tag_files.tfn = '\0'; tag_files.ofd = -1; tag_files.tfd = -1; - return(NULL); + return NULL; } /* @@ -192,14 +195,14 @@ static void * tag_alloc(size_t sz, void *arg) { - return(mandoc_malloc(sz)); + return mandoc_malloc(sz); } static void * tag_calloc(size_t nmemb, size_t sz, void *arg) { - return(mandoc_calloc(nmemb, sz)); + return mandoc_calloc(nmemb, sz); } static void