summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-04-14 13:47:12 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-04-18 17:49:23 -0700
commitb9ff9cfd5c56ae6d52c6503f7019756d9de29557 (patch)
tree1b930f81b327b346f07cdd00ef7e86e79c3c3ae1
parentb850adbdebcf500c659f85285d4d7374e15857f5 (diff)
specs/libX11: Fix XOpenDisplay() prototype in chapter 2 [bug 36244]
Was incorrectly showing AllPlanes() instead when describing XOpenDisplay() https://bugs.freedesktop.org/show_bug.cgi?id=36244 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--specs/libX11/CH02.xml17
1 files changed, 6 insertions, 11 deletions
diff --git a/specs/libX11/CH02.xml b/specs/libX11/CH02.xml
index e3bfedb1..f4ef1bcd 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>