Bug 53537

Summary: Devel file <X11/Xutil.h> and <X11/Xlib.h> lack a required prototype for
Product: [Retired] Red Hat Linux Reporter: D. Stimits <stimits>
Component: XFree86Assignee: Mike A. Harris <mharris>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: stimits
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-09-11 02:30:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description D. Stimits 2001-09-11 02:30:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.6-pre1-xfs-4 i686)

Description of problem:
Either Xutil.h or Xlib.h must have the prototype of "parsestring" defined.
This is used in
XParseGeometry as argument 1.  Apparently the proper value is "_Xconst
char*", but it is
incorrect for user programs to have to use this format. The rpm providing
this is:
XFree86-devel-4.0.3-5

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. #include <X11/Xlib.h>
2. #include <X11/Xutil.h>
3. Declare a variable of type "parsestring".
4. Try to compile a C or C++ program based on this, probably passing the
parsestring
to XParseGeometry().
	

Actual Results:  parsestring is undefined.

Expected Results:  parsestring is defined.

Additional info:

Devel package:
XFree86-devel-4.0.3-5

Comment 1 D. Stimits 2001-09-11 02:42:35 UTC
My literature contained a typographic error, and simply did not list the type of
argument "parsestring"...the bug report can be ignored.