aboutsummaryrefslogtreecommitdiff
path: root/ddb/db_sym.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-01-17 23:56:04 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-19 00:55:04 +0100
commit2029728ed6d2a88350be945a892d325aebc2eb8d (patch)
tree5cdae89a531f8d10e08b39491c7c8e64cff3f9b0 /ddb/db_sym.c
parentfc6bcf785b702e7e8a675ea0fe9856cc1b24b8f6 (diff)
downloadgnumach-2029728ed6d2a88350be945a892d325aebc2eb8d.tar.gz
gnumach-2029728ed6d2a88350be945a892d325aebc2eb8d.tar.bz2
gnumach-2029728ed6d2a88350be945a892d325aebc2eb8d.zip
Include mig generated headers to avoid warnings with -Wmissing-prototypes.
This also reverts 566c227636481b246d928772ebeaacbc7c37145b and 963b1794d7117064cee8ab5638b329db51dad854 Message-Id: <Y8d75KSqNL4FFInm@mercury.tail36e24.ts.net>
Diffstat (limited to 'ddb/db_sym.c')
-rw-r--r--ddb/db_sym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ddb/db_sym.c b/ddb/db_sym.c
index d205ff74..a247b645 100644
--- a/ddb/db_sym.c
+++ b/ddb/db_sym.c
@@ -60,7 +60,7 @@ db_add_symbol_table(
int type,
char *start,
char *end,
- char *name,
+ const char *name,
char *ref,
char *map_pointer)
{
@@ -506,7 +506,7 @@ void db_free_symbol(db_sym_t s)
*/
static void dummy_db_free_symbol(db_sym_t symbol) { }
-static boolean_t dummy_db_sym_init(char *a, char *b, char *c, char *d) {
+static boolean_t dummy_db_sym_init(char *a, char *b, const char *c, char *d) {
return FALSE;
}