summaryrefslogtreecommitdiff
path: root/sys/arch/arm32/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-01-27 20:34:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-01-27 20:34:23 +0000
commit4877d47f7b5b3a6500cb143ee6a3910545d4b596 (patch)
tree9c076d0fd47425ecae2311e683a72eb3efa84460 /sys/arch/arm32/include
parent487b3e927ace5b154e5bf007759bb82afc1e0463 (diff)
prototyping problems, PR#71, felix@mamba.pond.sub.org
Diffstat (limited to 'sys/arch/arm32/include')
-rw-r--r--sys/arch/arm32/include/profile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm32/include/profile.h b/sys/arch/arm32/include/profile.h
index 9d6a1327d26..3070ff6f8b2 100644
--- a/sys/arch/arm32/include/profile.h
+++ b/sys/arch/arm32/include/profile.h
@@ -36,11 +36,11 @@
* at the beginning of any C function.
*/
#define MCOUNT \
-extern void mcount() asm("mcount"); \
+extern void mcount __P((void)) asm("mcount"); \
void \
mcount() \
{ \
- register int selfpc, frompcindex; \
+ register int selfpc, frompcindex; \
/* \
* find the return address for mcount, \
* and the return address for mcount's caller. \