Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!dent.Berkeley.EDU!davidh From: davidh@dent.Berkeley.EDU (David S. Harrison) Newsgroups: comp.windows.x Subject: Re: Implicit function declarations for C Xlib Keywords: Xlib Message-ID: <8967@pasteur.Berkeley.EDU> Date: 20 Jan 89 19:44:59 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: davidh@ic.Berkeley.EDU Followup-To: comp.windows.x Organization: UC Berkeley Electronics Research Lab Lines: 31 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 , , and . 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 XutilPr.h Replacement for XresPr.h Replacement for 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)