bug-hurd
[Top][All Lists]
Advanced

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

[PATCH] fix warning from -Wstrict-prototypes


From: Guy-Fleury Iteriteka
Subject: [PATCH] fix warning from -Wstrict-prototypes
Date: Sun, 1 Jan 2023 15:03:01 +0200

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




reply via email to

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