summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/posix1e/cap_copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/posix1e/cap_copy.c b/lib/libc/posix1e/cap_copy.c
index 591e1b2..21822c0 100644
--- a/lib/libc/posix1e/cap_copy.c
+++ b/lib/libc/posix1e/cap_copy.c
@@ -41,7 +41,7 @@
#include <errno.h>
#include <stdlib.h>
-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 */
OpenPOWER on IntegriCloud