namespace protect wcstod too, and fix the protection in wcstold and wcstof.
This commit is contained in:
parent
35a607184b
commit
2c277d7a8d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: namespace.h,v 1.113 2006/04/15 15:34:34 tnozaki Exp $ */
|
||||
/* $NetBSD: namespace.h,v 1.114 2006/04/16 17:03:32 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
|
||||
|
@ -609,6 +609,7 @@
|
|||
#define wait3 _wait3
|
||||
#define waitpid _waitpid
|
||||
#define wcstof _wcstof
|
||||
#define wcstod _wcstod
|
||||
#define wcstold _wcstold
|
||||
#define wcwidth _wcwidth
|
||||
#define xdr_accepted_reply _xdr_accepted_reply
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wcstod.c,v 1.11 2006/04/16 16:34:20 tnozaki Exp $ */
|
||||
/* $NetBSD: wcstod.c,v 1.12 2006/04/16 17:03:32 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c)2006 Citrus Project,
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: wcstod.c,v 1.11 2006/04/16 16:34:20 tnozaki Exp $");
|
||||
__RCSID("$NetBSD: wcstod.c,v 1.12 2006/04/16 17:03:32 christos Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -39,6 +39,9 @@ __RCSID("$NetBSD: wcstod.c,v 1.11 2006/04/16 16:34:20 tnozaki Exp $");
|
|||
#include <wchar.h>
|
||||
#include <wctype.h>
|
||||
|
||||
__strong_alias(_wcstod,wcstod)
|
||||
__weak_alias(wcstod,_wcstod)
|
||||
|
||||
#define _FUNCNAME wcstod
|
||||
#define _RETURN_TYPE double
|
||||
#define _STRTOD_FUNC strtod
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wcstof.c,v 1.1 2006/04/15 12:17:23 tnozaki Exp $ */
|
||||
/* $NetBSD: wcstof.c,v 1.2 2006/04/16 17:03:32 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c)2006 Citrus Project,
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: wcstof.c,v 1.1 2006/04/15 12:17:23 tnozaki Exp $");
|
||||
__RCSID("$NetBSD: wcstof.c,v 1.2 2006/04/16 17:03:32 christos Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
|
@ -41,9 +41,8 @@ __RCSID("$NetBSD: wcstof.c,v 1.1 2006/04/15 12:17:23 tnozaki Exp $");
|
|||
#include <wchar.h>
|
||||
#include <wctype.h>
|
||||
|
||||
#ifdef __weak_alias
|
||||
__strong_alias(_wcstof,wcstof)
|
||||
__weak_alias(wcstof,_wcstof)
|
||||
#endif
|
||||
|
||||
#define _FUNCNAME wcstof
|
||||
#define _RETURN_TYPE float
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wcstold.c,v 1.1 2006/04/15 12:17:23 tnozaki Exp $ */
|
||||
/* $NetBSD: wcstold.c,v 1.2 2006/04/16 17:03:32 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c)2006 Citrus Project,
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: wcstold.c,v 1.1 2006/04/15 12:17:23 tnozaki Exp $");
|
||||
__RCSID("$NetBSD: wcstold.c,v 1.2 2006/04/16 17:03:32 christos Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
|
@ -41,9 +41,8 @@ __RCSID("$NetBSD: wcstold.c,v 1.1 2006/04/15 12:17:23 tnozaki Exp $");
|
|||
#include <wchar.h>
|
||||
#include <wctype.h>
|
||||
|
||||
#ifdef __weak_alias
|
||||
__strong_alias(_wcstold,wcstold)
|
||||
__weak_alias(wcstold,_wcstold)
|
||||
#endif
|
||||
|
||||
#define _FUNCNAME wcstold
|
||||
#define _RETURN_TYPE long double
|
||||
|
|
Loading…
Reference in New Issue