util/uri: Remove unused macros ISA_RESERVED() and ISA_GEN_DELIM()
They are not used anywhere, so there's no need to keep them around. Reviewed-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com> Message-ID: <20240123182247.432642-5-thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
8fd466737c
commit
e7b991451e
13
util/uri.c
13
util/uri.c
@ -163,19 +163,6 @@ static void uri_clean(URI *uri);
|
||||
((*(p) == '+')) || ((*(p) == ',')) || ((*(p) == ';')) || \
|
||||
((*(p) == '=')) || ((*(p) == '\'')))
|
||||
|
||||
/*
|
||||
* gen-delims = ":" / "/" / "?" / "#" / "[" / "]" / "@"
|
||||
*/
|
||||
#define ISA_GEN_DELIM(p) \
|
||||
(((*(p) == ':')) || ((*(p) == '/')) || ((*(p) == '?')) || \
|
||||
((*(p) == '#')) || ((*(p) == '[')) || ((*(p) == ']')) || \
|
||||
((*(p) == '@')))
|
||||
|
||||
/*
|
||||
* reserved = gen-delims / sub-delims
|
||||
*/
|
||||
#define ISA_RESERVED(p) (ISA_GEN_DELIM(p) || (ISA_SUB_DELIM(p)))
|
||||
|
||||
/*
|
||||
* unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user