Don't declare the cprof buf if CPROFILE isn't on.

This commit is contained in:
Ben Gras 2009-02-06 16:31:28 +00:00
parent b696823379
commit 6ac0338584

View file

@ -121,7 +121,7 @@ irq_hook_t *hook;
#endif /* SPROFILE */
#if CPROFILE
/*
* The following variables and functions are used by the procentry/
* procentry syslib functions when linked with kernelspace processes.
@ -171,3 +171,4 @@ void *tbl_ptr;
cprof_procs_no++;
}
#endif