diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h index 309a686f3..6ee9ef65b 100644 --- a/lib/libc/include/namespace.h +++ b/lib/libc/include/namespace.h @@ -927,11 +927,8 @@ #define __learn_tree ___learn_tree #if defined(__minix) -#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__ */ diff --git a/minix/lib/libc/sys/sprofile.c b/minix/lib/libc/sys/sprofile.c index 0fe27c43f..bc6ae0ea1 100644 --- a/minix/lib/libc/sys/sprofile.c +++ b/minix/lib/libc/sys/sprofile.c @@ -1,10 +1,6 @@ #include #include "namespace.h" -#ifdef __weak_alias -__weak_alias(sprofile, _sprofile) -#endif - #include #include #include