From owner-cvs-src@FreeBSD.ORG Tue Aug 5 12:42:27 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18C9337B401; Tue, 5 Aug 2003 12:42:27 -0700 (PDT) Received: from mail.broadpark.no (mail.broadpark.no [217.13.4.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DAFD43F3F; Tue, 5 Aug 2003 12:42:26 -0700 (PDT) (envelope-from des@des.no) Received: from smtp.des.no (37.80-203-228.nextgentel.com [80.203.228.37]) by mail.broadpark.no (Postfix) with ESMTP id 0AE3178A39; Tue, 5 Aug 2003 21:42:25 +0200 (MEST) Received: by smtp.des.no (Pony Express, from userid 666) id BC628965A6; Tue, 5 Aug 2003 21:42:24 +0200 (CEST) Received: from dwp.des.no (dwp.des.no [10.0.0.4]) by smtp.des.no (Pony Express) with ESMTP id 3405C96440; Tue, 5 Aug 2003 21:42:21 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id 0ED1BB822; Tue, 5 Aug 2003 21:42:20 +0200 (CEST) To: Diomidis Spinellis References: <200308050722.h757MCxl098780@repoman.freebsd.org> <20030805122815.GA17099@numeri.campus.luth.se> <3F2FAE21.6EEB6309@aueb.gr> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Tue, 05 Aug 2003 21:42:20 +0200 In-Reply-To: <3F2FAE21.6EEB6309@aueb.gr> (Diomidis Spinellis's message of "Tue, 05 Aug 2003 16:16:17 +0300") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-3.0 required=8.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_GNUS_UA version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Diomidis Spinellis cc: Johan Karlsson Subject: Re: cvs commit: src/sys/dev/sym sym_fw.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 19:42:27 -0000 Diomidis Spinellis writes: > SYM_GEN_B is defined as > > #define SYM_GEN_B(s, label) s label; > > in the include file for defining the structure members, and as=20 > > #define SYM_GEN_B(s, label) ((short) offsetof(s, label)), > > in the C file for initializing the structures. Thus SYM_GEN_FW will > always end with a semicolon or a comma. Remove the semicolon and the comma from the definitions, and add semicolons and commas to the invocations. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no