cvs commit: src/sys/dev/sym sym_fw.h

Dag-ErlingSmørgrav des at des.no
Tue Aug 5 12:42:27 PDT 2003


Diomidis Spinellis <dds at 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 
>
> #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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list