summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd/cpu.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-12-02 13:48:40 +0000
committermarkm <markm@FreeBSD.org>2001-12-02 13:48:40 +0000
commit11e67a93424d6a1809a70fc2ef1afa71e49ea0cd (patch)
tree620c2f4d8cb09dac390014511238b22c1e62b4ac /usr.bin/doscmd/cpu.c
parentaeb55e91a2e891a1c2315cee7210f70caa798355 (diff)
downloadFreeBSD-src-11e67a93424d6a1809a70fc2ef1afa71e49ea0cd.zip
FreeBSD-src-11e67a93424d6a1809a70fc2ef1afa71e49ea0cd.tar.gz
WARNS=2 fixup
Diffstat (limited to 'usr.bin/doscmd/cpu.c')
-rw-r--r--usr.bin/doscmd/cpu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/doscmd/cpu.c b/usr.bin/doscmd/cpu.c
index ea60ff1..f69af86 100644
--- a/usr.bin/doscmd/cpu.c
+++ b/usr.bin/doscmd/cpu.c
@@ -44,26 +44,26 @@ static void write_word(u_int32_t, u_int16_t);
** Hardware /0 interrupt
*/
void
-int00(regcontext_t *REGS)
+int00(regcontext_t *REGS __unused)
{
debug(D_ALWAYS, "Divide by 0 in DOS program!\n");
exit(1);
}
void
-int01(regcontext_t *REGS)
+int01(regcontext_t *REGS __unused)
{
debug(D_ALWAYS, "INT 1 with no handler! (single-step/debug)\n");
}
void
-int03(regcontext_t *REGS)
+int03(regcontext_t *REGS __unused)
{
debug(D_ALWAYS, "INT 3 with no handler! (breakpoint)\n");
}
void
-int0d(regcontext_t *REGS)
+int0d(regcontext_t *REGS __unused)
{
debug(D_ALWAYS, "IRQ5 with no handler!\n");
}
OpenPOWER on IntegriCloud