summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-12-20 10:08:27 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-12-20 10:08:27 +0000
commit902dfc86597a483a16c1e9d74fef664590e52e6a (patch)
treeb8e4adb8b7d7aac948b7f63196e85d1b106c7919
parent7e897c7168c51f1f5ef829269ba2d74465153114 (diff)
downloadgnutls-902dfc86597a483a16c1e9d74fef664590e52e6a.tar.gz
corrected in order not to complain if func(void) is used.
-rwxr-xr-xdoc/scripts/gdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/scripts/gdoc b/doc/scripts/gdoc
index 5320ea866d..14adad5183 100755
--- a/doc/scripts/gdoc
+++ b/doc/scripts/gdoc
@@ -540,7 +540,7 @@ sub dump_function {
}
$type = join " ", @args;
- if ($parameters{$param} eq "") {
+ if ($parameters{$param} eq "" && $param != "void") {
$parameters{$param} = "-- undescribed --";
print STDERR "Warning($lineno): Function parameter '$param' not described in '$function_name'\n";
}