This commit is contained in:
LinlyBoi
2023-08-22 14:09:23 +03:00
parent 3174bc405f
commit 7294276338

View File

@@ -10,8 +10,7 @@
**/
int _printf(const char *format, ...)
{
int buff_idx;
int fmt_idx;
int buff_idx, fmt_idx;
unsigned int identifiers, BUFF_SIZE;
char *buffer, *next, c;
va_list args;
@@ -24,6 +23,7 @@ int _printf(const char *format, ...)
if (!format) /* No string. No laundry */
return (0);
buff_idx = 0;
fmt_idx = 0;
while (*(format + fmt_idx))