summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2002-06-27 13:20:54 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2002-06-27 13:20:54 +0000
commit53154da0897d938b9f8c64a1ef48f66f98de6085 (patch)
tree407f3de97e8717bc28845810dab0dcab49e035a6 /lib/libc
parentc40995b36ae34415d349d05170263b3763f69342 (diff)
Notes
Diffstat (limited to 'lib/libc')
-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 96963345c04a..1ea495d8b2a6 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;