Bug 14759

Summary: xorg/lib/libXinerama - Add missing function prototypes
Product: xorg Reporter: Paulo César Pereira de Andrade <pcpa>
Component: Lib/otherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: patch
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
0001-Add-prototypes-before-function-definitions.patch none

Description Paulo César Pereira de Andrade 2008-02-29 14:15:10 UTC
Created attachment 14724 [details] [review]
0001-Add-prototypes-before-function-definitions.patch

"""
  This is a similar problem to the missing libXext prototypes, i.e.
these are functions that should be publicized in /usr/include/X11,
but they don't have documentation. So this patch only tries to
show the potential problem, but doesn't add the prototypes to
"official" header files.
"""
Comment 1 Paulo César Pereira de Andrade 2009-01-30 10:26:48 UTC
  In git master, prototypes were added to
X11/extensions/panoramiXext.h

  While this patch would not have any chances of
breaking anything, adding "extern" prototypes
to .c files is wrong, as .c files declaring
a function should also include the .h defininig it,
or there are chances that prototype and definition
will not match.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.