ref: 493f1763ab76c0edbdc6634315002136429ac958
parent: dd0e2c7b6d1488ed7a13798cda4cc6f6984a718f
author: LTCHIPS <ltchips994@gmail.com>
date: Mon Jul 9 09:49:58 EDT 2018
Removed itoa, ltoa functions in dosutil, so that the c lib versions are used instead.
--- a/src/dosutil.c
+++ b/src/dosutil.c
@@ -39,64 +39,6 @@
return buf.st_size;
}
-char *strlwr(char *s)
-{
- char *p = s;
-
- while (*p) {
- *p = tolower(*p);
- p++;
- }
-
- return s;
-}
-
-char *strupr(char *s)
-{
- char *p = s;
-
- while (*p) {
- *p = toupper(*p);
- p++;
- }
-
- return s;
-}
-
-char *itoa(int value, char *string, int radix)
-{
- switch (radix) {
- case 10:
- sprintf(string, "%d", value);
- break;
- case 16:
- sprintf(string, "%x", value);
- break;
- default:
- STUB_FUNCTION;
- break;
- }
-
- return string;
-}
-
-char *ltoa(long value, char *string, int radix)
-{
- switch (radix) {
- case 10:
- sprintf(string, "%ld", value);
- break;
- case 16:
- sprintf(string, "%lx", value);
- break;
- default:
- STUB_FUNCTION;
- break;
- }
-
- return string;
-}
-
char *ultoa(unsigned long value, char *string, int radix)
{
switch (radix) {