davidh@dent.Berkeley.EDU (David S. Harrison) (01/21/89)
In a previous posting, I complained about the lack of function declarations in the standard X11 header files. To solve the problem, I have compiled replacement header files for <X11/Xlib.h>, <X11/Xutil.h>, and <X11/Xresource.h>. Each includes the text of the original (taken from the XV11R3 release). Old function declarations in these files have been commented out using the directive #ifdef NO_PROTOTYPE. Below the original text, I have included function prototypes for all the functions. The prototypes themselves are wrapped with a preprocessor directive that omits the argument declarations on non-ANSI compilers. The files are available from shambhala.Berkeley.EDU (128.32.132.54) in the directory pub/XHeaders. You should find five files in this XHeaders.doc This file. XlibPr.h Replacement for <X11/Xlib.h> XutilPr.h Replacement for <X11/Xutil.h> XresPr.h Replacement for <X11/Xresource.h> XHeaders.tar.Z All of the files above I have also submitted the first four files in shar format to comp.sources.x. These files were semi-automatically generated from the sources and should be complete. However, if you find missing functions or incorrectly declared functions, please let me know. Note: these are not official files from the X consortium. David Harrison UC Berkeley Electronics Research Lab (davidh@ic.Berkely.EDU, ...!ucbvax!ucbcad!davidh)