diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-09-02 23:13:49 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-09-02 23:13:49 +0000 |
commit | fea7223b35677731944abd4e09ab30e846d7aa5c (patch) | |
tree | 5647bae701e3f8ed02d8e17bc02969a89a78616a /lib/libc | |
parent | eb6143a73ea359a277c4ff8df2ea68bbd4569ab4 (diff) | |
download | FreeBSD-src-fea7223b35677731944abd4e09ab30e846d7aa5c.zip FreeBSD-src-fea7223b35677731944abd4e09ab30e846d7aa5c.tar.gz |
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 <mike@FreeBSD.org>
Obtained from: TrustedBSD Project
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/posix1e/cap_copy.c | 4 |
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 */ |