diff options
| author | Simon Ser <contact@emersion.fr> | 2025-01-07 13:21:37 +0100 |
|---|---|---|
| committer | Kenny Levinsen <kl@kl.wtf> | 2025-01-07 16:35:31 +0100 |
| commit | c55dff95bcf2875ff26a0505c6eda44947ed927d (patch) | |
| tree | 35f3b8af610894513e2ea0ae7321b1c631708bc9 /include | |
| parent | 801bc76ce3ab2f620e30d1d0ad979caa5b03a164 (diff) | |
stringop: move over has_prefix()
Diffstat (limited to 'include')
| -rw-r--r-- | include/stringop.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
