From c55dff95bcf2875ff26a0505c6eda44947ed927d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 7 Jan 2025 13:21:37 +0100 Subject: stringop: move over has_prefix() --- include/stringop.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/stringop.h') diff --git a/include/stringop.h b/include/stringop.h index 19a50f23..ffc355cf 100644 --- a/include/stringop.h +++ b/include/stringop.h @@ -40,4 +40,6 @@ bool expand_path(char **path); char *vformat_str(const char *fmt, va_list args) _SWAY_ATTRIB_PRINTF(1, 0); char *format_str(const char *fmt, ...) _SWAY_ATTRIB_PRINTF(1, 2); +bool has_prefix(const char *str, const char *prefix); + #endif -- cgit v1.2.3