Include <ddb/db_interface.h> to get ddb's db_disasm() prototype.

This commit is contained in:
simonb 2021-04-06 16:04:44 +00:00
parent a4339e5a02
commit 417128351c
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_disasm.c,v 1.44 2019/10/26 17:50:18 christos Exp $ */
/* $NetBSD: db_disasm.c,v 1.45 2021/04/06 16:04:44 simonb Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -63,7 +63,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.44 2019/10/26 17:50:18 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.45 2021/04/06 16:04:44 simonb Exp $");
#include <sys/param.h>
#ifdef _KERNEL
@ -72,8 +72,9 @@ __KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.44 2019/10/26 17:50:18 christos Exp
#include <machine/db_machdep.h>
#include <ddb/db_sym.h>
#include <ddb/db_interface.h>
#include <ddb/db_output.h>
#include <ddb/db_sym.h>
#include <m68k/m68k/db_disasm.h>
static void get_modregstr(dis_buffer_t *, int, int, int, int);