From fea7223b35677731944abd4e09ab30e846d7aa5c Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 2 Sep 2001 23:13:49 +0000 Subject: o Sync up prototypes for cap_size() and cap_copy_ext() with sys/capability.h--this compiled fine on i386 where (int) and (ssize_t) are the same, but broke on Alpha where they differ. Submitted by: Mike Barcroft Obtained from: TrustedBSD Project --- lib/libc/posix1e/cap_copy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/posix1e') 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 #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 */ -- cgit v1.1