Formatting: string.c
This commit is contained in:
parent
952eeebb6d
commit
4e73eee53e
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
|||
char *itoa(int value, char *str, int base) {
|
||||
char *p = str;
|
||||
char *p1, *p2;
|
||||
char *p = str;
|
||||
char *p1, *p2;
|
||||
unsigned int uvalue = value;
|
||||
int negative = 0;
|
||||
int negative = 0;
|
||||
|
||||
if (base < 2 || base > 36) {
|
||||
*str = '\0';
|
||||
|
|
Loading…
Add table
Reference in a new issue