=================================================================== RCS file: /cvs/mandoc/tag.h,v retrieving revision 1.11 retrieving revision 1.12 diff -u -p -r1.11 -r1.12 --- mandoc/tag.h 2020/03/13 15:32:29 1.11 +++ mandoc/tag.h 2020/04/02 22:12:55 1.12 @@ -1,4 +1,4 @@ -/* $Id: tag.h,v 1.11 2020/03/13 15:32:29 schwarze Exp $ */ +/* $Id: tag.h,v 1.12 2020/04/02 22:12:55 schwarze Exp $ */ /* * Copyright (c) 2015, 2018, 2019, 2020 Ingo Schwarze * @@ -28,17 +28,7 @@ #define TAG_FALLBACK (INT_MAX - 1) /* Tag only used if unique. */ #define TAG_DELETE (INT_MAX) /* Tag not used at all. */ -/* - * Return values of tag_check(). - */ -enum tag_result { - TAG_OK, /* Argument exists as a tag. */ - TAG_MISS, /* Argument not found. */ - TAG_EMPTY /* No tag exists at all. */ -}; - - void tag_alloc(void); +int tag_exists(const char *); void tag_put(const char *, int, struct roff_node *); -enum tag_result tag_check(const char *); void tag_free(void);