diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-02-10 00:41:45 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2004-02-10 00:41:45 +0000 |
commit | ac682f657c977cbbe217eaa424262a6fad05567b (patch) | |
tree | fb3840c8e425b28132a01ff82865952c6d2ab18d /sys/arch/i386 | |
parent | 5c2ea4962fa4b47869a41cdc4429f1ec708b6568 (diff) |
Make debug_init void debug_init(void), like nearly all of the other
functions that machdep() calls.
ok deraadt@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/stand/libsa/debug.c | 5 | ||||
-rw-r--r-- | sys/arch/i386/stand/libsa/debug.h | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/i386/stand/libsa/debug.c b/sys/arch/i386/stand/libsa/debug.c index 42577a44a8c..ea6e7868290 100644 --- a/sys/arch/i386/stand/libsa/debug.c +++ b/sys/arch/i386/stand/libsa/debug.c @@ -1,4 +1,4 @@ -/* $OpenBSD: debug.c,v 1.11 2003/08/11 06:23:09 deraadt Exp $ */ +/* $OpenBSD: debug.c,v 1.12 2004/02/10 00:41:44 tom Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -47,10 +47,9 @@ void d_putc(dev_t, int); #define CKPT(c) /* c */ #endif -int +void debug_init(void) { - return 0; } diff --git a/sys/arch/i386/stand/libsa/debug.h b/sys/arch/i386/stand/libsa/debug.h index 3139c5deb7b..08807db56c3 100644 --- a/sys/arch/i386/stand/libsa/debug.h +++ b/sys/arch/i386/stand/libsa/debug.h @@ -1,4 +1,4 @@ -/* $OpenBSD: debug.h,v 1.6 2003/06/03 20:22:11 mickey Exp $ */ +/* $OpenBSD: debug.h,v 1.7 2004/02/10 00:41:44 tom Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -33,6 +33,6 @@ extern char *const reg_names[]; extern const size_t nregs; -int debug_init(void); +void debug_init(void); void dump_regs(u_int, u_int); void dump_mem(char *, void *, size_t); |