summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/port/i18n/wstoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libc/port/i18n/wstoll.c')
-rw-r--r--usr/src/lib/libc/port/i18n/wstoll.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/usr/src/lib/libc/port/i18n/wstoll.c b/usr/src/lib/libc/port/i18n/wstoll.c
index d528d319cd..e732c2bbc6 100644
--- a/usr/src/lib/libc/port/i18n/wstoll.c
+++ b/usr/src/lib/libc/port/i18n/wstoll.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,19 +18,19 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/* Copyright (c) 1986 AT&T */
/* All Rights Reserved */
+#pragma ident "%Z%%M% %I% %E% SMI"
-#pragma weak wstoll = _wstoll
-#pragma weak watoll = _watoll
+#pragma weak _wstoll = wstoll
+#pragma weak _watoll = watoll
#include "lint.h"
#include <wchar.h>
@@ -48,13 +47,13 @@
* PSARC opinion: PSARC/1993/121, approved on 3/11/93
*/
long long
-_watoll(const wchar_t *p)
+watoll(const wchar_t *p)
{
return (wcstoll(p, NULL, 10));
}
long long
-_wstoll(const wchar_t *str, wchar_t **ptr, int base)
+wstoll(const wchar_t *str, wchar_t **ptr, int base)
{
return (wcstoll(str, ptr, base));
}