2004-10-31 21:45:31

by Alexey Dobriyan

[permalink] [raw]
Subject: [PATCH 3/3] kernel-doc: don't print "..." twice in variadic functions.

--- a/scripts/kernel-doc 2004-10-31 20:25:16.000000000 +0000
+++ b/scripts/kernel-doc 2004-10-31 22:57:20.061852472 +0000
@@ -1398,7 +1398,7 @@

if ($type eq "" && $param eq "...")
{
- $type="...";
+ $type="";
$param="...";
$parameterdescs{"..."} = "variable arguments";
}


2004-11-01 18:04:17

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [PATCH 3/3] kernel-doc: don't print "..." twice in variadic functions.

On Mon, Nov 01, 2004 at 12:38:10AM +0300, Alexey Dobriyan wrote:
> --- a/scripts/kernel-doc 2004-10-31 20:25:16.000000000 +0000
> +++ b/scripts/kernel-doc 2004-10-31 22:57:20.061852472 +0000
> @@ -1398,7 +1398,7 @@
>
> if ($type eq "" && $param eq "...")
> {
> - $type="...";
> + $type="";
> $param="...";
> $parameterdescs{"..."} = "variable arguments";
> }

Applied

Sam