From owner-svn-src-head@FreeBSD.ORG Sun May 17 20:55:34 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14A761065674; Sun, 17 May 2009 20:55:34 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0318F8FC27; Sun, 17 May 2009 20:55:34 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4HKtXV4039527; Sun, 17 May 2009 20:55:33 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4HKtXKT039526; Sun, 17 May 2009 20:55:33 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <200905172055.n4HKtXKT039526@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Sun, 17 May 2009 20:55:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192263 - head/sys/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2009 20:55:34 -0000 Author: bz Date: Sun May 17 20:55:33 2009 New Revision: 192263 URL: http://svn.freebsd.org/changeset/base/192263 Log: Put the structs under #ifndef VIMAGE_GLOBALS as some constants are not defined for VIMAGE_GLOBALS and thus broke the build for that option. Reported by: csjp Modified: head/sys/sys/vimage.h Modified: head/sys/sys/vimage.h ============================================================================== --- head/sys/sys/vimage.h Sun May 17 20:53:10 2009 (r192262) +++ head/sys/sys/vimage.h Sun May 17 20:55:33 2009 (r192263) @@ -160,7 +160,6 @@ void vnet_mod_deregister_multi(const str sizeof(vnet_ ## mod ## _0._ ## name) } #endif #define VNET_SYMMAP_END { NULL, 0 } -#endif /* !VIMAGE_GLOBALS */ struct vimage { LIST_ENTRY(vimage) vi_le; /* all vimage list */ @@ -191,7 +190,6 @@ struct vprocg { char _domainname[MAXHOSTNAMELEN]; }; -#ifndef VIMAGE_GLOBALS #ifdef VIMAGE LIST_HEAD(vimage_list_head, vimage); extern struct vimage_list_head vimage_head;