commit ab33b604325fbc2681cc43df16dd6bc97c4699fd from: Omar Polo date: Mon Nov 07 18:10:51 2022 UTC make phos_uri compile with -Werror temporary band-aid until i find the time to rewrite this stuff... commit - 6f212e04a10182db77f577c79ac23bac3fabe399 commit + ab33b604325fbc2681cc43df16dd6bc97c4699fd blob - 6a58f46e28801ee0f98e8a8ed67576dc3f112b39 blob + 1e57a2efc55153d08ba233d1b434f2f78772e3eb --- phos/phos_uri.c +++ phos/phos_uri.c @@ -68,6 +68,7 @@ static int phos_resolve_uri_from(const struct phos_u /* common defs */ +#if unused static inline int gen_delims(int c) { @@ -79,6 +80,7 @@ gen_delims(int c) || c == ']' || c == '@'; } +#endif static inline int sub_delims(int c) @@ -96,11 +98,13 @@ sub_delims(int c) || c == '='; } +#if unused static inline int reserved(int c) { return gen_delims(c) || sub_delims(c); } +#endif static inline int unreserved(int c)