Code

hscroll: pass const strings to strscroll()
[ncmpc.git] / src / hscroll.h
index fadbae9af4ab978fe7b306a4a124499d98ebc164..d266c8a335d8b50e46a424ad5d8f97c0196e2eaa 100644 (file)
@@ -39,6 +39,7 @@ hscroll_step(struct hscroll *hscroll)
 }
 
 char *
-strscroll(struct hscroll *hscroll, char *str, char *separator, unsigned width);
+strscroll(struct hscroll *hscroll, const char *str, const char *separator,
+         unsigned width);
 
 #endif