[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/7] ddb: move forward declaration into a header file
From: |
Marin Ramesa |
Subject: |
[PATCH 4/7] ddb: move forward declaration into a header file |
Date: |
Fri, 22 Nov 2013 18:30:37 +0100 |
* ddb/db_sym.c (db_lookup): Remove forward declaration.
* ddb/db_sym.h (db_lookup): Add prototype.
---
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 359ec7c..38f0e5a 100644
--- a/ddb/db_sym.c
+++ b/ddb/db_sym.c
@@ -50,8 +50,6 @@ int db_nsymtab = 0;
db_symtab_t *db_last_symtab;
-db_sym_t db_lookup(); /* forward */
-
/*
* Add symbol table, with given name, to list of symbol tables.
*/
diff --git a/ddb/db_sym.h b/ddb/db_sym.h
index 650822d..9de12df 100644
--- a/ddb/db_sym.h
+++ b/ddb/db_sym.h
@@ -243,4 +243,6 @@ extern boolean_t aout_db_sym_init(
char *name,
char *task_addr);
+db_sym_t db_lookup(char *);
+
#endif /* _DDB_DB_SYM_H_ */
--
1.8.1.4
- [PATCH 1/7] ddb/db_mp.c: include kd.h for kdb_kintr(), Marin Ramesa, 2013/11/22
- [PATCH 2/7] ddb: move forward declarations into a header file, Marin Ramesa, 2013/11/22
- [PATCH 3/7] ddb: create new header file db_mp.h, Marin Ramesa, 2013/11/22
- [PATCH 4/7] ddb: move forward declaration into a header file,
Marin Ramesa <=
- [PATCH 5/7] ddb: move forward declarations into a header file, Marin Ramesa, 2013/11/22
- [PATCH 6/7] ddb/db_examine.c: trivial stylistic fix for consistency, Marin Ramesa, 2013/11/22
- [PATCH 7/7] device: new header file chario.h, Marin Ramesa, 2013/11/22
- Re: [PATCH 1/7] ddb/db_mp.c: include kd.h for kdb_kintr(), Guillem Jover, 2013/11/22