Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!ALLOSAUR.CIS.OHIO-STATE.EDU!bob From: bob@ALLOSAUR.CIS.OHIO-STATE.EDU (Bob Sutterfield) Newsgroups: comp.windows.x Subject: X.V11R2/clients/xprop/xprop.c _default_mapping: bad typedef Message-ID: <8808262056.AA00290@allosaur.cis.ohio-state.edu> Date: 26 Aug 88 20:56:36 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 26 In X.V11R2/clients/xprop/xprop.c, the _default_mapping struct definition needs an extra semicolon. See K&R1, _C Reference Manual_ section 8.5: a struct-declaration is always ended by a semicolon, and a degenerate struct-decl-list (like the last element in a larger struct-decl-list) is a struct-declaration. Context diffs follow. *** /ai0/Sun-X.V11R2/clients/xprop/xprop.c~ Fri Feb 26 00:08:49 1988 --- /ai0/Sun-X.V11R2/clients/xprop/xprop.c Fri Aug 26 16:22:51 1988 *************** *** 194,200 **** * */ ! typedef struct { Atom atom; char *format; char *dformat } _default_mapping; _default_mapping _default_mappings[] = { /* --- 194,200 ---- * */ ! typedef struct { Atom atom; char *format; char *dformat; } _default_mapping; _default_mapping _default_mappings[] = { /* --Bob