[PATCH:libX11] specs/libX11: Fix XOpenDisplay() prototype in chapter 2

Alan Coopersmith alan.coopersmith at oracle.com
Thu Apr 14 13:48:40 PDT 2011


Was incorrectly showing AllPlanes() instead when describing XOpenDisplay()

Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 specs/libX11/CH02.xml |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/specs/libX11/CH02.xml b/specs/libX11/CH02.xml
index e3bfedb..f4ef1bc 100644
--- a/specs/libX11/CH02.xml
+++ b/specs/libX11/CH02.xml
@@ -66,17 +66,12 @@ To open a connection to the X server that controls a display, use
 <function>XOpenDisplay</function>.
 <indexterm significance="preferred"><primary>XOpenDisplay</primary></indexterm>
 </para>
-<para>
-<!-- .LP -->
-<!-- .sM -->
-</para>
-<para>
-AllPlanes()
-</para>
-<para>
-XAllPlanes
-</para>
-
+<funcsynopsis>
+<funcprototype>
+  <funcdef>Display *<function>XOpenDisplay</function></funcdef>
+  <paramdef>char *<parameter>display_name</parameter></paramdef>
+</funcprototype>
+</funcsynopsis>
 <variablelist>
   <varlistentry>
     <term>
-- 
1.7.3.2



More information about the xorg-devel mailing list