diff --git a/sys/sys/gmon.h b/sys/sys/gmon.h index 0b2e2352dc09..ac405abb726e 100644 --- a/sys/sys/gmon.h +++ b/sys/sys/gmon.h @@ -228,6 +228,15 @@ void mexitcount(uintfptr_t selfpc); void nullfunc(void); void nullfunc_loop(void); +#else /* !_KERNEL */ + +#include + +__BEGIN_DECLS +void moncontrol(int); +void monstartup(u_long, u_long); +__END_DECLS + #endif /* _KERNEL */ #endif /* !_SYS_GMON_H_ */