summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
Diffstat (limited to 'specs')
-rw-r--r--specs/CH01.xml8
-rw-r--r--specs/CH09.xml2
2 files changed, 5 insertions, 5 deletions
diff --git a/specs/CH01.xml b/specs/CH01.xml
index 6a493c8..8d77f87 100644
--- a/specs/CH01.xml
+++ b/specs/CH01.xml
@@ -1754,9 +1754,9 @@ static XtResource resources[] = {
}
/* Forward declarations of procedures */
-static void ClassInitialize();
-static void Initialize();
-static void Realize();
+static void ClassInitialize(void);
+static void Initialize(Widget, Widget, ArgList, Cardinal*);
+static void Realize(Widget, XtValueMask*, XSetWindowAttributes*);
static void SetText();
static void GetText();
.
@@ -2297,7 +2297,7 @@ a class structure is constant.
The following example provides the class initialization procedure for a Label class.
</para>
<programlisting>
-static void ClassInitialize()
+static void ClassInitialize(void)
{
XtSetTypeConverter(XtRString, XtRJustify, CvtStringToJustify,
NULL, 0, XtCacheNone, NULL);
diff --git a/specs/CH09.xml b/specs/CH09.xml
index 6fe5dd8..6e1aa47 100644
--- a/specs/CH09.xml
+++ b/specs/CH09.xml
@@ -266,7 +266,7 @@ The Intrinsics define the following resource types:
</row>
<row>
<entry><function>XtRFunction</function></entry>
- <entry>(*)()</entry>
+ <entry>(*)(Widget)</entry>
</row>
<row>
<entry><function>XtRGeometry</function></entry>