bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH gnumach] Define prototype for bogus in gensym.awk


From: Samuel Thibault
Subject: Re: [PATCH gnumach] Define prototype for bogus in gensym.awk
Date: Wed, 15 Feb 2023 17:53:00 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Applied, thanks!

Flavio Cruz, le mer. 15 févr. 2023 01:38:24 -0500, a ecrit:
> Otherwise gcc will complain that bogus does not have a prototype.
> ---
>  gensym.awk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/gensym.awk b/gensym.awk
> index 63c2f440..609d9273 100644
> --- a/gensym.awk
> +++ b/gensym.awk
> @@ -27,6 +27,7 @@ BEGIN {
>  /^[a-z]/ {
>       if (bogus_printed == "no")
>       {
> +             print "void bogus(void);"
>               print "void bogus(void) {";
>               bogus_printed = "yes";
>       }
> -- 
> 2.39.0
> 
> 

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]