summaryrefslogtreecommitdiff
path: root/sys/arch/arm32/include/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm32/include/profile.h')
-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. \