diff options
Diffstat (limited to 'src/tools/qlocale.cpp')
-rw-r--r-- | src/tools/qlocale.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/tools/qlocale.cpp b/src/tools/qlocale.cpp index 39a430e26..fd544065b 100644 --- a/src/tools/qlocale.cpp +++ b/src/tools/qlocale.cpp @@ -163,8 +163,8 @@ static char *_qdtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve, char **digits_str); static double qstrtod(const char *s00, char const **se, bool *ok); #endif -static TQ_LLONG qstrtoll(const char *nptr, const char **endptr, register int base, bool *ok); -static TQ_ULLONG qstrtoull(const char *nptr, const char **endptr, register int base, bool *ok); +static TQ_LLONG qstrtoll(const char *nptr, const char **endptr, int base, bool *ok); +static TQ_ULLONG qstrtoull(const char *nptr, const char **endptr, int base, bool *ok); static inline bool compareBits(double d1, double d2) { @@ -3797,13 +3797,13 @@ TQ_ULLONG TQLocalePrivate::stringToUnsLongLong(TQString num, int base, * Ignores `locale' stuff. Assumes that the upper and lower case * alphabets and digits are each contiguous. */ -static TQ_ULLONG qstrtoull(const char *nptr, const char **endptr, register int base, bool *ok) +static TQ_ULLONG qstrtoull(const char *nptr, const char **endptr, int base, bool *ok) { - register const char *s = nptr; - register TQ_ULLONG acc; - register unsigned char c; - register TQ_ULLONG qbase, cutoff; - register int neg, any, cutlim; + const char *s = nptr; + TQ_ULLONG acc; + unsigned char c; + TQ_ULLONG qbase, cutoff; + int neg, any, cutlim; if (ok != 0) *ok = TRUE; @@ -3878,13 +3878,13 @@ static TQ_ULLONG qstrtoull(const char *nptr, const char **endptr, register int b * Ignores `locale' stuff. Assumes that the upper and lower case * alphabets and digits are each contiguous. */ -static TQ_LLONG qstrtoll(const char *nptr, const char **endptr, register int base, bool *ok) +static TQ_LLONG qstrtoll(const char *nptr, const char **endptr, int base, bool *ok) { - register const char *s; - register TQ_ULLONG acc; - register unsigned char c; - register TQ_ULLONG qbase, cutoff; - register int neg, any, cutlim; + const char *s; + TQ_ULLONG acc; + unsigned char c; + TQ_ULLONG qbase, cutoff; + int neg, any, cutlim; if (ok != 0) *ok = TRUE; |