From 085189bfa55a3cd44e94062289457c95c48997aa Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Thu, 29 Aug 2024 11:54:56 -0400 Subject: [PATCH] MT#55283 remove unused function Change-Id: I25e32943767b7d1a3150dddf93f19c2d2bbc90da --- lib/str.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/str.h b/lib/str.h index 4442454fb..f5f2baf79 100644 --- a/lib/str.h +++ b/lib/str.h @@ -183,7 +183,6 @@ INLINE void str_slice_free(str *); /* saves "in" into "out" pseudo-URI encoded. "out" point to a buffer with sufficient length. returns length */ size_t str_uri_encode_len(char *out, const char *in, size_t in_len); -INLINE size_t str_uri_encode(char *out, const str *in); /* reverse of the above. returns newly allocated str + buffer as per str_alloc (must be free'd) */ str *str_uri_decode_len(const char *in, size_t in_len); @@ -462,10 +461,6 @@ INLINE bool str_token_sep(str *new_token, str *ori_and_remainder, int sep) { return true; } -INLINE size_t str_uri_encode(char *out, const str *in) { - return str_uri_encode_len(out, in->s, in->len); -} - INLINE char *str_ncpy(char *dst, size_t bufsize, const str *src) { size_t to_copy = src->len; if (to_copy >= bufsize)