diff --git a/third_party/libevent/README.chromium b/third_party/libevent/README.chromium index 0f0535760d..b855319ccf 100644 --- a/third_party/libevent/README.chromium +++ b/third_party/libevent/README.chromium @@ -31,3 +31,4 @@ static library using GYP. 6) Remove an unnecessary workaround for OS X 10.4 from kqueue.c. It was causing problems on macOS Sierra. 7) Change buffer.c to not redefine _GNU_SOURCE. +8) Change _event_strlcpy in strlcpy.c to not use K&R syntax. diff --git a/third_party/libevent/strlcpy.c b/third_party/libevent/strlcpy.c index 5d194527c8..149fee5d99 100644 --- a/third_party/libevent/strlcpy.c +++ b/third_party/libevent/strlcpy.c @@ -46,10 +46,7 @@ static char *rcsid = "$OpenBSD: strlcpy.c,v 1.5 2001/05/13 15:40:16 deraadt Exp * Returns strlen(src); if retval >= siz, truncation occurred. */ size_t -_event_strlcpy(dst, src, siz) - char *dst; - const char *src; - size_t siz; +_event_strlcpy(char *dst, const char *src, size_t siz) { register char *d = dst; register const char *s = src;