Follow the namespace pattern for [cs]profile

Change-Id: I5ad7eb1d7f4b4364e668c2f30dfc628f89b0d579
This commit is contained in:
Lionel Sambuc 2014-04-14 11:49:40 +02:00
parent 193733f9e2
commit f86720112c
3 changed files with 4 additions and 2 deletions

View file

@ -910,8 +910,12 @@
#define __learn_tree ___learn_tree
#if defined(__minix)
#define cprofile _cprofile /* LSC: Is this really needed? */
#define sprofile _sprofile /* LSC: Is this really needed? */
/* Needed to allow RS and VM to provide their own implementations. */
#define munmap _munmap
#endif /* defined(__minix) */
#endif /* __weak_alias */
#endif /* !__lint__ */

View file

@ -2,7 +2,6 @@
#include "namespace.h"
#ifdef __weak_alias
#define cprofile _cprofile
__weak_alias(cprofile, _cprofile)
#endif

View file

@ -2,7 +2,6 @@
#include "namespace.h"
#ifdef __weak_alias
#define sprofile _sprofile
__weak_alias(sprofile, _sprofile)
#endif