Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/locale PR/52801: Kamil Rytarowski: Add missing weak...
details: https://anonhg.NetBSD.org/src/rev/dc907a2045a4
branches: trunk
changeset: 358057:dc907a2045a4
user: christos <christos%NetBSD.org@localhost>
date: Sat Dec 09 22:48:00 2017 +0000
description:
PR/52801: Kamil Rytarowski: Add missing weak aliases for wcsto{f,d,ld}_l
XXX: pullup-8
diffstat:
lib/libc/locale/wcstod.c | 5 +++--
lib/libc/locale/wcstof.c | 5 +++--
lib/libc/locale/wcstold.c | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
diffs (78 lines):
diff -r 7ec7ff70cc82 -r dc907a2045a4 lib/libc/locale/wcstod.c
--- a/lib/libc/locale/wcstod.c Sat Dec 09 22:42:17 2017 +0000
+++ b/lib/libc/locale/wcstod.c Sat Dec 09 22:48:00 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wcstod.c,v 1.15 2013/04/18 22:23:17 joerg Exp $ */
+/* $NetBSD: wcstod.c,v 1.16 2017/12/09 22:48:00 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.15 2013/04/18 22:23:17 joerg Exp $");
+__RCSID("$NetBSD: wcstod.c,v 1.16 2017/12/09 22:48:00 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -42,6 +42,7 @@
#include <wctype.h>
__weak_alias(wcstod,_wcstod)
+__weak_alias(wcstod_l,_wcstod_l)
#define _FUNCNAME wcstod
#define _RETURN_TYPE double
diff -r 7ec7ff70cc82 -r dc907a2045a4 lib/libc/locale/wcstof.c
--- a/lib/libc/locale/wcstof.c Sat Dec 09 22:42:17 2017 +0000
+++ b/lib/libc/locale/wcstof.c Sat Dec 09 22:48:00 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wcstof.c,v 1.4 2013/04/18 22:23:18 joerg Exp $ */
+/* $NetBSD: wcstof.c,v 1.5 2017/12/09 22:48:00 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.4 2013/04/18 22:23:18 joerg Exp $");
+__RCSID("$NetBSD: wcstof.c,v 1.5 2017/12/09 22:48:00 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -42,6 +42,7 @@
#include <wctype.h>
__weak_alias(wcstof,_wcstof)
+__weak_alias(wcstof_l,_wcstof_l)
#define _FUNCNAME wcstof
#define _RETURN_TYPE float
diff -r 7ec7ff70cc82 -r dc907a2045a4 lib/libc/locale/wcstold.c
--- a/lib/libc/locale/wcstold.c Sat Dec 09 22:42:17 2017 +0000
+++ b/lib/libc/locale/wcstold.c Sat Dec 09 22:48:00 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wcstold.c,v 1.4 2013/04/18 22:23:18 joerg Exp $ */
+/* $NetBSD: wcstold.c,v 1.5 2017/12/09 22:48:00 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.4 2013/04/18 22:23:18 joerg Exp $");
+__RCSID("$NetBSD: wcstold.c,v 1.5 2017/12/09 22:48:00 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -42,6 +42,7 @@
#include <wctype.h>
__weak_alias(wcstold,_wcstold)
+__weak_alias(wcstold_l,_wcstold_l)
#define _FUNCNAME wcstold
#define _RETURN_TYPE long double
Home |
Main Index |
Thread Index |
Old Index