nostrdb: bolt11: move utf8_check into local function.

It isn't actually in the CCAN module (though it probably should be!).
So it breaks when we update.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
Rusty Russell
2024-08-17 14:57:06 +09:30
committed by Daniel D’Aquino
parent 494386d211
commit e3ca6ca5b4
2 changed files with 0 additions and 21 deletions

View File

@@ -52,6 +52,4 @@ bool utf8_decode(struct utf8_state *utf8_state, char c);
*/
size_t utf8_encode(uint32_t point, char dest[UTF8_MAX_LEN]);
/* Check for valid UTF-8 */
bool utf8_check(const void *vbuf, size_t buflen);
#endif /* CCAN_UTF8_H */