mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Removed some obsolete definitions of __unit64.
Added a few missing newlines. svn path=/trunk/; revision=3254
This commit is contained in:
parent
b0c64e3f9f
commit
dbd109d357
6 changed files with 10 additions and 21 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: atoi64.c,v 1.2 2000/01/06 00:26:15 dwelch Exp $
|
||||
/* $Id: atoi64.c,v 1.3 2002/07/18 18:12:59 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -9,8 +9,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
typedef long long __int64;
|
||||
|
||||
__int64
|
||||
_atoi64 (const char *nptr)
|
||||
{
|
||||
|
|
|
@ -11,16 +11,13 @@
|
|||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef long long __int64;
|
||||
typedef unsigned long long __uint64;
|
||||
|
||||
char *
|
||||
_i64toa(__int64 value, char *string, int radix)
|
||||
{
|
||||
char tmp[65];
|
||||
char *tp = tmp;
|
||||
__int64 i;
|
||||
__uint64 v;
|
||||
unsigned __int64 v;
|
||||
__int64 sign;
|
||||
char *sp;
|
||||
|
||||
|
@ -33,7 +30,7 @@ _i64toa(__int64 value, char *string, int radix)
|
|||
if (sign)
|
||||
v = -value;
|
||||
else
|
||||
v = (__uint64)value;
|
||||
v = (unsigned __int64)value;
|
||||
while (v || tp == tmp)
|
||||
{
|
||||
i = v % radix;
|
||||
|
|
|
@ -11,16 +11,13 @@
|
|||
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
|
||||
#include <stdlib.h>
|
||||
|
||||
typedef long long __int64;
|
||||
typedef unsigned long long __uint64;
|
||||
|
||||
wchar_t *
|
||||
_i64tow(__int64 value, wchar_t *string, int radix)
|
||||
{
|
||||
wchar_t tmp[65];
|
||||
wchar_t *tp = tmp;
|
||||
__int64 i;
|
||||
__uint64 v;
|
||||
unsigned __int64 v;
|
||||
__int64 sign;
|
||||
wchar_t *sp;
|
||||
|
||||
|
@ -33,7 +30,7 @@ _i64tow(__int64 value, wchar_t *string, int radix)
|
|||
if (sign)
|
||||
v = -value;
|
||||
else
|
||||
v = (__uint64)value;
|
||||
v = (unsigned __int64)value;
|
||||
while (v || tp == tmp)
|
||||
{
|
||||
i = v % radix;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: mbstowcs.c,v 1.1 1999/12/30 14:38:54 ekohl Exp $
|
||||
/* $Id: mbstowcs.c,v 1.2 2002/07/18 18:12:59 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -38,4 +38,4 @@ size_t mbstowcs (wchar_t *wcstr, const char *mbstr, size_t count)
|
|||
return (size_t)Size;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
/* EOF */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: wcstombs.c,v 1.1 1999/12/30 14:38:54 ekohl Exp $
|
||||
/* $Id: wcstombs.c,v 1.2 2002/07/18 18:12:59 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -38,4 +38,4 @@ size_t wcstombs (char *mbstr, const wchar_t *wcstr, size_t count)
|
|||
return (size_t)Size;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
/* EOF */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: wtoi64.c,v 1.2 2000/01/06 00:26:15 dwelch Exp $
|
||||
/* $Id: wtoi64.c,v 1.3 2002/07/18 18:12:59 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -9,9 +9,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
typedef long long __int64;
|
||||
typedef unsigned long long __uint64;
|
||||
|
||||
__int64
|
||||
_wtoi64 (const wchar_t *nptr)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue