bob@ALLOSAUR.CIS.OHIO-STATE.EDU (Bob Sutterfield) (08/27/88)
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