summaryrefslogtreecommitdiff
path: root/libgfortran/runtime/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/runtime/error.c')
-rw-r--r--libgfortran/runtime/error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/runtime/error.c b/libgfortran/runtime/error.c
index 2ccaff06768..2e49869c9c2 100644
--- a/libgfortran/runtime/error.c
+++ b/libgfortran/runtime/error.c
@@ -60,7 +60,7 @@ static char buffer[32]; /* buffer for integer/ascii conversions */
/* Returns a pointer to a static buffer. */
char *
-itoa (int64_t n)
+gfc_itoa (int64_t n)
{
int negative;
char *p;
@@ -177,7 +177,7 @@ st_printf (const char *format, ...)
break;
case 'd':
- q = itoa (va_arg (arg, int));
+ q = gfc_itoa (va_arg (arg, int));
count = strlen (q);
p = salloc_w (s, &count);
@@ -254,7 +254,7 @@ st_sprintf (char *buffer, const char *format, ...)
break;
case 'd':
- p = itoa (va_arg (arg, int));
+ p = gfc_itoa (va_arg (arg, int));
count = strlen (p);
memcpy (buffer, p, count);