diff --git a/lib/libc/posix1e/cap_copy.c b/lib/libc/posix1e/cap_copy.c index 591e1b2caf57..21822c065ab1 100644 --- a/lib/libc/posix1e/cap_copy.c +++ b/lib/libc/posix1e/cap_copy.c @@ -41,7 +41,7 @@ #include #include -int +ssize_t cap_copy_ext(void *ext_p, cap_t cap, ssize_t size) { if (size < 0) { @@ -73,7 +73,7 @@ cap_copy_int(const void *ext_p) return (c); } -int +ssize_t cap_size(cap_t cap) { (void)cap; /* silence warning */