fix prototype
This commit is contained in:
parent
00c364dacb
commit
f9b7dd8522
2 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ r3_slug_t * r3_slug_parse_next(r3_slug_t *s, char **errstr) {
|
|||
}
|
||||
*/
|
||||
|
||||
r3_slug_t * r3_slug_parse(const char *needle, int needle_len, char *offset, char **errstr) {
|
||||
r3_slug_t * r3_slug_parse(char *needle, int needle_len, char *offset, char **errstr) {
|
||||
r3_slug_t * s = r3_slug_new(needle, needle_len);
|
||||
if (!s) {
|
||||
return NULL;
|
||||
|
|
|
@ -43,7 +43,7 @@ r3_slug_t * r3_slug_new(char * path, int path_len);
|
|||
|
||||
int r3_slug_check(r3_slug_t *s, char **errstr);
|
||||
|
||||
r3_slug_t * r3_slug_parse(const char *needle, int needle_len, char *offset, char **errstr);
|
||||
r3_slug_t * r3_slug_parse(char *needle, int needle_len, char *offset, char **errstr);
|
||||
|
||||
char * r3_slug_to_str(const r3_slug_t *s);
|
||||
|
||||
|
|
Loading…
Reference in a new issue