summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2002-06-27 13:20:54 +0000
committerdeischen <deischen@FreeBSD.org>2002-06-27 13:20:54 +0000
commitdad2305f625c61cfb0c44704202de0aa20f71b00 (patch)
tree407f3de97e8717bc28845810dab0dcab49e035a6
parent39357aa235303b57abed1a72b86aa6e6f08fb294 (diff)
downloadFreeBSD-src-dad2305f625c61cfb0c44704202de0aa20f71b00.zip
FreeBSD-src-dad2305f625c61cfb0c44704202de0aa20f71b00.tar.gz
Remove improper use of <namespace.h>.
Remove fmtcheck from application name space (fix the weak reference).
-rw-r--r--lib/libc/gen/fmtcheck.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/gen/fmtcheck.c b/lib/libc/gen/fmtcheck.c
index 9696334..1ea495d 100644
--- a/lib/libc/gen/fmtcheck.c
+++ b/lib/libc/gen/fmtcheck.c
@@ -37,15 +37,11 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "namespace.h"
-
#include <stdio.h>
#include <string.h>
#include <ctype.h>
-#ifdef __weak_alias
-__weak_alias(fmtcheck,__fmtcheck)
-#endif
+__weak_reference(__fmtcheck, fmtcheck);
enum __e_fmtcheck_types {
FMTCHECK_START,
@@ -225,7 +221,7 @@ get_next_format(const char **pf, EFT eft)
}
__const char *
-fmtcheck(const char *f1, const char *f2)
+__fmtcheck(const char *f1, const char *f2)
{
const char *f1p, *f2p;
EFT f1t, f2t;
OpenPOWER on IntegriCloud