PERFORCE change 113331 for review
Todd Miller
millert at FreeBSD.org
Mon Jan 22 15:43:46 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=113331
Change 113331 by millert at millert_macbook on 2007/01/22 15:42:56
Quiet a compiler warning re: unused parameter.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_socket.c#8 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/security/mac_socket.c#8 (text+ko) ====
@@ -481,7 +481,8 @@
}
int
-mac_socket_label_get(struct ucred *cred, struct socket *so, struct mac *mac)
+mac_socket_label_get(__unused struct ucred *cred, struct socket *so,
+ struct mac *mac)
{
char *buffer, *elements;
struct label *intlabel;
@@ -517,7 +518,7 @@
}
int
-mac_socketpeer_label_get(struct ucred *cred, struct socket *so,
+mac_socketpeer_label_get(__unused struct ucred *cred, struct socket *so,
struct mac *mac)
{
char *elements, *buffer;
More information about the trustedbsd-cvs
mailing list