bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] fix warning from -Wstrict-prototypes


From: Samuel Thibault
Subject: Re: [PATCH] fix warning from -Wstrict-prototypes
Date: Sun, 1 Jan 2023 14:09:57 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Applied, thanks!
Guy-Fleury Iteriteka, le dim. 01 janv. 2023 15:03:01 +0200, a ecrit:
> ---
>  ddb/db_sym.c | 2 +-
>  ddb/db_sym.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/ddb/db_sym.c b/ddb/db_sym.c
> index e78173c..585e0ea 100644
> --- a/ddb/db_sym.c
> +++ b/ddb/db_sym.c
> @@ -192,7 +192,7 @@ db_lookup(char *symstr)
>   */
>  db_sym_t
>  db_sym_parse_and_lookup(
> -     db_sym_t        (*func)(),
> +     db_sym_t        (*func) (db_symtab_t *, char*, char*, int),
>       db_symtab_t     *symtab,
>       char            *symstr)
>  {
> diff --git a/ddb/db_sym.h b/ddb/db_sym.h
> index d8f3387..da4a062 100644
> --- a/ddb/db_sym.h
> +++ b/ddb/db_sym.h
> @@ -263,7 +263,7 @@ db_search_in_task_symbol(
>  
>  extern db_sym_t
>  db_sym_parse_and_lookup(
> -     db_sym_t        (*func)(),
> +     db_sym_t        (*func) (db_symtab_t *, char*, char*, int),
>       db_symtab_t     *symtab,
>       char            *symstr);
>  
> -- 
> 2.38.1
> 
> 

-- 
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]