1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00

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
This commit is contained in:
Robert Watson 2001-09-02 23:13:49 +00:00
parent aeb7f4bac4
commit 3652b4dc72
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82828

View File

@ -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 */