summaryrefslogtreecommitdiff
path: root/shared/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/util.h')
-rw-r--r--shared/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/util.h b/shared/util.h
index e013d08..4c59705 100644
--- a/shared/util.h
+++ b/shared/util.h
@@ -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 */