summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-03-27 20:07:55 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-04-16 18:38:56 -0400
commit27483d8a3252e2c2a451976d4a99622becd83fe8 (patch)
treeadb09d7e022fce70d900c5901d9067e78e891555 /specs
parenta8dcb749458a723dd76e342162c5c00b629374fe (diff)
update several function prototypes to use void-return or void-parameter,
which were not in the original spec because it accommodated K&R C.
Diffstat (limited to 'specs')
-rw-r--r--specs/CH02.xml4
-rw-r--r--specs/CH03.xml4
-rw-r--r--specs/CH07.xml6
-rw-r--r--specs/CH09.xml2
-rw-r--r--specs/appC.xml6
5 files changed, 11 insertions, 11 deletions
diff --git a/specs/CH02.xml b/specs/CH02.xml
index 9b612ab..beb0c08 100644
--- a/specs/CH02.xml
+++ b/specs/CH02.xml
@@ -171,7 +171,7 @@ To initialize the Intrinsics internals, use
<funcsynopsis id='XtToolkitInitialize'>
<funcprototype>
<funcdef>void <function>XtToolkitInitialize</function></funcdef>
- <paramdef> <parameter></parameter></paramdef>
+ <paramdef><parameter>void</parameter></paramdef>
</funcprototype>
</funcsynopsis>
@@ -195,7 +195,7 @@ To create an application context, use
<funcsynopsis id='XtCreateApplicationContext'>
<funcprototype>
<funcdef>XtAppContext <function>XtCreateApplicationContext</function></funcdef>
- <paramdef> <parameter></parameter></paramdef>
+ <paramdef><parameter>void</parameter></paramdef>
</funcprototype>
</funcsynopsis>
diff --git a/specs/CH03.xml b/specs/CH03.xml
index 2b2e1d7..4db39c1 100644
--- a/specs/CH03.xml
+++ b/specs/CH03.xml
@@ -1221,7 +1221,7 @@ To map a widget explicitly, use
<funcsynopsis id='XtMapWidget'>
<funcprototype>
-<funcdef> <function>XtMapWidget</function></funcdef>
+<funcdef>void <function>XtMapWidget</function></funcdef>
<paramdef>Widget <parameter>w</parameter></paramdef>
</funcprototype>
</funcsynopsis>
@@ -1246,7 +1246,7 @@ To unmap a widget explicitly, use
<funcsynopsis id='XtUnmapWidget'>
<funcprototype>
-<funcdef> <function>XtUnmapWidget</function></funcdef>
+<funcdef>void <function>XtUnmapWidget</function></funcdef>
<paramdef>Widget <parameter>w</parameter></paramdef>
</funcprototype>
</funcsynopsis>
diff --git a/specs/CH07.xml b/specs/CH07.xml
index 7ea7259..2075b6d 100644
--- a/specs/CH07.xml
+++ b/specs/CH07.xml
@@ -4686,7 +4686,7 @@ access, call
<funcsynopsis id='XtToolkitThreadInitialize'>
<funcprototype>
<funcdef>Boolean <function>XtToolkitThreadInitialize</function></funcdef>
- <paramdef><parameter></parameter></paramdef>
+ <paramdef><parameter>void</parameter></paramdef>
</funcprototype>
</funcsynopsis>
@@ -4849,7 +4849,7 @@ widget writer must use
<funcsynopsis id='XtProcessLock'>
<funcprototype>
<funcdef>void <function>XtProcessLock</function></funcdef>
- <paramdef><parameter></parameter></paramdef>
+ <paramdef><parameter>void</parameter></paramdef>
</funcprototype>
</funcsynopsis>
@@ -4867,7 +4867,7 @@ To unlock a locked process, use
<funcsynopsis id='XtProcessUnlock'>
<funcprototype>
<funcdef>void <function>XtProcessUnlock</function></funcdef>
- <paramdef><parameter></parameter></paramdef>
+ <paramdef><parameter>void</parameter></paramdef>
</funcprototype>
</funcsynopsis>
diff --git a/specs/CH09.xml b/specs/CH09.xml
index 1f64de5..4d916e5 100644
--- a/specs/CH09.xml
+++ b/specs/CH09.xml
@@ -2382,7 +2382,7 @@ required to deallocate resources produced by the converter.
<funcsynopsis id='XtAppSetTypeConverter'>
<funcprototype>
-<funcdef> <function>XtAppSetTypeConverter</function></funcdef>
+<funcdef>void <function>XtAppSetTypeConverter</function></funcdef>
<paramdef>XtAppContext <parameter>app_context</parameter></paramdef>
<paramdef>String <parameter>from_type</parameter></paramdef>
<paramdef>String <parameter>to_type</parameter></paramdef>
diff --git a/specs/appC.xml b/specs/appC.xml
index 4598ac9..246c82e 100644
--- a/specs/appC.xml
+++ b/specs/appC.xml
@@ -560,7 +560,7 @@ must be called before using this routine.
<funcsynopsis id='XtPending'>
<funcprototype>
<funcdef>Boolean <function>XtPending</function></funcdef>
- <paramdef><parameter></parameter></paramdef>
+ <paramdef><parameter>void</parameter></paramdef>
</funcprototype>
</funcsynopsis>
@@ -1453,7 +1453,7 @@ context, use
<funcsynopsis id='XtGetSelectionTimeout'>
<funcprototype>
<funcdef>unsigned long <function>XtGetSelectionTimeout</function></funcdef>
- <paramdef><parameter></parameter></paramdef>
+ <paramdef><parameter>void</parameter></paramdef>
</funcprototype>
</funcsynopsis>
@@ -1480,7 +1480,7 @@ an application- or widget-specific database), use
<funcsynopsis id='XtGetErrorDatabase'>
<funcprototype>
<funcdef>XrmDatabase <function>*XtGetErrorDatabase</function></funcdef>
- <paramdef><parameter></parameter></paramdef>
+ <paramdef><parameter>void</parameter></paramdef>
</funcprototype>
</funcsynopsis>