From: Ben Gras Date: Fri, 9 Jan 2009 21:42:36 +0000 (+0000) Subject: cprofile always on X-Git-Tag: v3.1.4~144 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/verify-sign/verify.pl?a=commitdiff_plain;h=e190ff9f8441f3c8b9ca7599fbd479caa5ff0148;p=minix.git cprofile always on --- diff --git a/lib/syslib/sys_cprof.c b/lib/syslib/sys_cprof.c index 293030516..4abfad8a3 100644 --- a/lib/syslib/sys_cprof.c +++ b/lib/syslib/sys_cprof.c @@ -1,7 +1,5 @@ #include "syslib.h" -#if CPROFILE - /*===========================================================================* * sys_cprof * *===========================================================================*/ @@ -23,5 +21,3 @@ void *mem_ptr; /* location of allocated memory */ return(_taskcall(SYSTASK, SYS_CPROF, &m)); } -#endif - diff --git a/lib/syslib/sys_profbuf.c b/lib/syslib/sys_profbuf.c index 9c9bf3688..a301aa713 100644 --- a/lib/syslib/sys_profbuf.c +++ b/lib/syslib/sys_profbuf.c @@ -2,8 +2,6 @@ #include -#if CPROFILE - /*===========================================================================* * sys_profbuf * *===========================================================================*/ @@ -19,5 +17,3 @@ void *mem_ptr; /* pointer to profiling table */ return(_taskcall(SYSTASK, SYS_PROFBUF, &m)); } -#endif - diff --git a/lib/sysutil/profile.c b/lib/sysutil/profile.c index aaa2e5597..9c6edb2cc 100644 --- a/lib/sysutil/profile.c +++ b/lib/sysutil/profile.c @@ -12,8 +12,6 @@ #include -#if CPROFILE - #include #include #include @@ -284,5 +282,3 @@ PRIVATE void clear_tbl() } } -#endif /* CPROFILE */ - diff --git a/lib/sysutil/profile_extern.c b/lib/sysutil/profile_extern.c index 928a32828..73af23e4e 100644 --- a/lib/sysutil/profile_extern.c +++ b/lib/sysutil/profile_extern.c @@ -13,8 +13,6 @@ #include -#if CPROFILE - #include #include @@ -44,5 +42,3 @@ void *tbl_ptr; sys_profbuf(ctl_ptr, tbl_ptr); } -#endif /* CPROFILE */ -