[haiku-commits] r33957 - haiku/trunk/headers/posix

Author: axeld
Date: 2009-11-09 09:43:32 +0100 (Mon, 09 Nov 2009)
New Revision: 33957
Changeset: http://dev.haiku-os.org/changeset/33957/haiku

Modified:
   haiku/trunk/headers/posix/wchar.h
Log:
* Removed superfluous wcstoul() version pointed out by Scott.
* Removed superfluous "int" before wcstol().
* Minor cleanup.


Modified: haiku/trunk/headers/posix/wchar.h
===================================================================
--- haiku/trunk/headers/posix/wchar.h   2009-11-08 23:30:28 UTC (rev 33956)
+++ haiku/trunk/headers/posix/wchar.h   2009-11-09 08:43:32 UTC (rev 33957)
@@ -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 <stddef.h>
 #include <stdio.h>
 
+
 /* 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 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);


Other related posts:

  • » [haiku-commits] r33957 - haiku/trunk/headers/posix - axeld