From owner-p4-projects Sat Oct 5 14:20:45 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 6763A37B404; Sat, 5 Oct 2002 14:20:43 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B55D537B401 for ; Sat, 5 Oct 2002 14:20:42 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A6EF43E42 for ; Sat, 5 Oct 2002 14:20:42 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g95LKgCo090683 for ; Sat, 5 Oct 2002 14:20:42 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g95LKgMF090673 for perforce@freebsd.org; Sat, 5 Oct 2002 14:20:42 -0700 (PDT) Date: Sat, 5 Oct 2002 14:20:42 -0700 (PDT) Message-Id: <200210052120.g95LKgMF090673@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 18764 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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