mirror of
https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
synced 2024-11-27 13:53:49 +08:00
Change parameter from int to char
It's a char not an int.
This commit is contained in:
parent
52c9c99056
commit
9a437531af
@ -62,7 +62,7 @@ void *memdup(const void *p, size_t n)
|
||||
return memcpy(r, p, n);
|
||||
}
|
||||
|
||||
char *strchr_replace(char *s, int c, char r)
|
||||
char *strchr_replace(char *s, char c, char r)
|
||||
{
|
||||
char *p;
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
/* ************************************************************************ */
|
||||
#define streq(a, b) (strcmp((a), (b)) == 0)
|
||||
#define strstartswith(a, b) (strncmp(a, b, strlen(b)) == 0)
|
||||
char *strchr_replace(char *s, int c, char r);
|
||||
char *strchr_replace(char *s, char c, char r);
|
||||
void *memdup(const void *p, size_t n) __attribute__((nonnull(1)));
|
||||
|
||||
/* module-related functions */
|
||||
|
Loading…
Reference in New Issue
Block a user