Bug 14759 - xorg/lib/libXinerama - Add missing function prototypes
Summary: xorg/lib/libXinerama - Add missing function prototypes
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/other (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2008-02-29 14:15 UTC by Paulo César Pereira de Andrade
Modified: 2009-01-30 10:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
0001-Add-prototypes-before-function-definitions.patch (1.69 KB, patch)
2008-02-29 14:15 UTC, Paulo César Pereira de Andrade
no flags Details | Splinter Review

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.