[PATCH:libX11] specs/libX11: correct prototype for XListPixmapFormats/XImageByteOrder
Alan Coopersmith
alan.coopersmith at oracle.com
Fri Jun 7 09:32:31 PDT 2013
The XListPixmapFormats arguments was being shown with XImageByteOrder's
name and return types. Appears to have been a glitch in the nroff ->
docbook conversion.
Reported-by: ZHANG Zhaolong <zhangzl2013 at 126.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
specs/libX11/CH02.xml | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/specs/libX11/CH02.xml b/specs/libX11/CH02.xml
index 12df68e..5e0e611 100644
--- a/specs/libX11/CH02.xml
+++ b/specs/libX11/CH02.xml
@@ -1511,12 +1511,9 @@ To obtain the pixmap format information for a given display, use
<indexterm significance="preferred"><primary>XListPixmapFormats</primary></indexterm>
<!-- .sM -->
</para>
-<para>
-ImageByteOrder(<emphasis remap='I'>display</emphasis>)
-</para>
-<funcsynopsis id='XImageByteOrder'>
+<funcsynopsis id='XListPixmapFormats'>
<funcprototype>
- <funcdef>int <function>XImageByteOrder</function></funcdef>
+ <funcdef>XPixmapFormatValues *<function>XListPixmapFormats</function></funcdef>
<paramdef>Display<parameter> *display</parameter></paramdef>
<paramdef>int<parameter> *count_return</parameter></paramdef>
</funcprototype>
@@ -1577,7 +1574,7 @@ These are often used by toolkits as well as by simple applications.
<para>
ImageByteOrder(<emphasis remap='I'>display</emphasis>)
</para>
-<funcsynopsis>
+<funcsynopsis id='XImageByteOrder'>
<funcprototype>
<funcdef>int <function>XImageByteOrder</function></funcdef>
<paramdef>Display<parameter> *display</parameter></paramdef>
--
1.7.9.2
More information about the xorg-devel
mailing list