From owner-cvs-all Thu May 30 18: 7:19 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A6F5037B400; Thu, 30 May 2002 18:07:13 -0700 (PDT) Received: (from marcel@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4V17Ds82922; Thu, 30 May 2002 18:07:13 -0700 (PDT) (envelope-from marcel) Message-Id: <200205310107.g4V17Ds82922@freefall.freebsd.org> From: Marcel Moolenaar Date: Thu, 30 May 2002 18:07:13 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys gpt.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG marcel 2002/05/30 18:07:13 PDT Modified files: sys/sys gpt.h Log: Don't use an incomplete array type to mark the start of the padding because the padding should be inserted before the array and not after it, as is done by GCC 3.1. Instead use an explicit uint32_t field to get what was intended and on top of that make the size of the padding explicit. This also doesn't depend on a C99 feature. While here, expand the comment. Just to make a point. Pointed out by: fanf Revision Changes Path 1.4 +8 -1 src/sys/sys/gpt.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message