PERFORCE change 18764 for review
Robert Watson
rwatson at freebsd.org
Sat Oct 5 21:20:42 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18764
Change 18764 by rwatson at rwatson_tislabs on 2002/10/05 14:20:34
Fix build of uipc_socket.c with GENERIC with -Werror by
pushing definition of 'int error' behind #ifdef MAC.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/kern/uipc_socket.c#38 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/kern/uipc_socket.c#38 (text+ko) ====
@@ -131,7 +131,10 @@
int waitok;
{
struct socket *so;
- int error, flag;
+#ifdef MAC
+ int error;
+#endif
+ int flag;
if (waitok == 1)
flag = M_WAITOK;
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list