diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-01-27 20:34:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-01-27 20:34:23 +0000 |
commit | 4877d47f7b5b3a6500cb143ee6a3910545d4b596 (patch) | |
tree | 9c076d0fd47425ecae2311e683a72eb3efa84460 /sys/arch/m68k | |
parent | 487b3e927ace5b154e5bf007759bb82afc1e0463 (diff) |
prototyping problems, PR#71, felix@mamba.pond.sub.org
Diffstat (limited to 'sys/arch/m68k')
-rw-r--r-- | sys/arch/m68k/include/profile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/m68k/include/profile.h b/sys/arch/m68k/include/profile.h index 043fb6774c3..9b463a1a33d 100644 --- a/sys/arch/m68k/include/profile.h +++ b/sys/arch/m68k/include/profile.h @@ -1,4 +1,4 @@ -/* $OpenBSD: profile.h,v 1.3 1996/05/29 18:38:33 niklas Exp $ */ +/* $OpenBSD: profile.h,v 1.4 1997/01/27 20:34:15 deraadt Exp $ */ /* $NetBSD: profile.h,v 1.3 1995/03/26 17:08:37 briggs Exp $ */ /* @@ -39,7 +39,7 @@ #define _MCOUNT_DECL static __inline void _mcount #define MCOUNT \ -extern void mcount() __asm("mcount"); void mcount() { \ +extern void mcount __P((void)) __asm("mcount"); void mcount() { \ int selfpc, frompcindex; \ __asm("movl a6@(4),%0" : "=r" (selfpc)); \ __asm("movl a6@(0)@(4),%0" : "=r" (frompcindex)); \ |