From 07dd9d53cb7d92dc42ef697edb65e4c491b65928 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sun, 23 Feb 2014 18:55:21 +0200 Subject: cli: export function for illegal tag checking This lets us check for forbidden tags consistently across the cli. No functional changes. --- tag-util.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'tag-util.c') diff --git a/tag-util.c b/tag-util.c index 3bde4097..e2d5b795 100644 --- a/tag-util.c +++ b/tag-util.c @@ -31,14 +31,7 @@ line_error (tag_parse_status_t status, return status; } -/* - * Test tags for some forbidden cases. - * - * return: NULL if OK, - * explanatory message otherwise. - */ - -static const char * +const char * illegal_tag (const char *tag, notmuch_bool_t remove) { -- cgit v1.2.3