From c73ea8216d6ccfff04d962d38c9da3b9e4a94fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 9 Nov 2009 08:43:32 +0000 Subject: [PATCH] * Removed superfluous wcstoul() version pointed out by Scott. * Removed superfluous "int" before wcstol(). * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33957 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/wchar.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/headers/posix/wchar.h b/headers/posix/wchar.h index 65b1298087..a53cbf749b 100644 --- a/headers/posix/wchar.h +++ b/headers/posix/wchar.h @@ -1,13 +1,15 @@ /* - * Copyright 2008 Haiku Inc. All Rights Reserved. + * Copyright 2008-2009 Haiku Inc. All Rights Reserved. * Distributed under the terms of the MIT License. */ #ifndef _WCHAR_H #define _WCHAR_H + #include #include + /* stddef.h is not supposed to define wint_t, but gcc 2.95.3's one does. * In all other cases we will do that. */ #ifndef _WINT_T @@ -109,12 +111,11 @@ extern wchar_t *wcsstr(const wchar_t *, const wchar_t *); extern double wcstod(const wchar_t *, wchar_t **); extern float wcstof(const wchar_t *, wchar_t **); extern wchar_t *wcstok(wchar_t *, const wchar_t *, wchar_t **); -extern long int wcstol(const wchar_t *, wchar_t **, int); +extern long wcstol(const wchar_t *, wchar_t **, int); extern long double wcstold(const wchar_t *, wchar_t **); extern long long wcstoll(const wchar_t *, wchar_t **, int); extern unsigned long wcstoul(const wchar_t *, wchar_t **, int); extern unsigned long long wcstoull(const wchar_t *, wchar_t **, int); -extern unsigned long int wcstoul(const wchar_t *, wchar_t **, int); extern wchar_t *wcswcs(const wchar_t *, const wchar_t *); extern int wcswidth(const wchar_t *, size_t); extern size_t wcsxfrm(wchar_t *, const wchar_t *, size_t);