Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Aug 2003 21:42:20 +0200
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Diomidis Spinellis <dds@aueb.gr>
Cc:        Johan Karlsson <johan@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/dev/sym sym_fw.h
Message-ID:  <xzp8yq7ao2r.fsf@dwp.des.no>
In-Reply-To: <3F2FAE21.6EEB6309@aueb.gr> (Diomidis Spinellis's message of "Tue, 05 Aug 2003 16:16:17 %2B0300")
References:  <200308050722.h757MCxl098780@repoman.freebsd.org> <20030805122815.GA17099@numeri.campus.luth.se> <3F2FAE21.6EEB6309@aueb.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Diomidis Spinellis <dds@aueb.gr> 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



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