Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2002 14:20:42 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 18764 for review
Message-ID:  <200210052120.g95LKgMF090673@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18764

Change 18764 by rwatson@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@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210052120.g95LKgMF090673>