mirror of https://git.kore.io/kore.git
constify
This commit is contained in:
parent
090e2cc6a2
commit
0c0393fc64
|
@ -509,7 +509,7 @@ u_int64_t kore_strtonum64(const char *, int, int *);
|
|||
void kore_strlcpy(char *, const char *, size_t);
|
||||
void kore_server_disconnect(struct connection *);
|
||||
int kore_split_string(char *, char *, char **, size_t);
|
||||
void kore_strip_chars(char *, char, char **);
|
||||
void kore_strip_chars(char *, const char, char **);
|
||||
int kore_snprintf(char *, size_t, int *, const char *, ...);
|
||||
long long kore_strtonum(const char *, int, long long, long long, int *);
|
||||
int kore_base64_encode(u_int8_t *, u_int32_t, char **);
|
||||
|
|
|
@ -223,7 +223,7 @@ kore_split_string(char *input, char *delim, char **out, size_t ele)
|
|||
}
|
||||
|
||||
void
|
||||
kore_strip_chars(char *in, char strip, char **out)
|
||||
kore_strip_chars(char *in, const char strip, char **out)
|
||||
{
|
||||
u_int32_t len;
|
||||
char *s, *p;
|
||||
|
|
Loading…
Reference in New Issue