Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!sgi!daisy!turner From: turner@daisy.UUCP (D'arc Angel) Newsgroups: comp.windows.x Subject: _XrmResourceDataBase Message-ID: <835@daisy.UUCP> Date: 11 Feb 88 19:43:19 GMT Organization: The Houses of the Holy Lines: 32 I am confused by something and perhaps some kind soul can explain this to me. In Xlib.h there is a line struct _XrmResourceDataBase *db; and Xresource.h there is a line typedef struct _XrmResourceDataBase *XrmResourceDataBase; and finally in Xrm.c there is typedef struct _XrmResourceDataBase { XrmRepresentation type; XrmValue val; XrmHashBucket *hashTable; } XrmResourceDataBaseRec; and last, but not least XOpenDis.c dpy -> db = (struct _XrmResourceDataBase *)NULL; now, everyone includes Xlib.h, some include Xresource.h, and no one includes Xrm.c, so how the blue blazes does the c compiler generate valid code for all of this ????? -- Laissez les bons temps rouler - Queen Ida ...{decwrl|ucbvax}!imagen!atari!daisy!turner (James M. Turner) Daisy Systems, 700 E. Middlefield Rd, P.O. Box 7006, Mountain View CA 94039-7006. (415)960-0123