aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/runtime
diff options
context:
space:
mode:
authorAaron W. LaFramboise <aaronavay62@aaronwl.com>2004-12-19 12:54:00 -0600
committerAaron W. LaFramboise <aaronwl@gcc.gnu.org>2004-12-19 12:54:00 -0600
commit9548f05908895b7068cda919773d523f0b4e642d (patch)
treed07d532b01cb171c567f84dbc83f554db986b04b /libgfortran/runtime
parent8d19f04f49f16f5956ac9e6d7ee7a3c70e083e63 (diff)
downloadgcc-9548f05908895b7068cda919773d523f0b4e642d.zip
gcc-9548f05908895b7068cda919773d523f0b4e642d.tar.gz
gcc-9548f05908895b7068cda919773d523f0b4e642d.tar.bz2
libgfortran.h (itoa): Rename to gfc_itoa.
* libgfortran.h (itoa): Rename to gfc_itoa. * io/write.c (itoa): Same. * runtime/environ.c (itoa): Same. * runtime/error.c (itoa): Same. From-SVN: r92380
Diffstat (limited to 'libgfortran/runtime')
-rw-r--r--libgfortran/runtime/environ.c2
-rw-r--r--libgfortran/runtime/error.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/libgfortran/runtime/environ.c b/libgfortran/runtime/environ.c
index 02831f1..19d407e 100644
--- a/libgfortran/runtime/environ.c
+++ b/libgfortran/runtime/environ.c
@@ -551,7 +551,7 @@ check_buffered (int n)
return 0;
strcpy (name, "GFORTRAN_UNBUFFERED_");
- strcat (name, itoa (n));
+ strcat (name, gfc_itoa (n));
v.name = name;
v.value = 2;
diff --git a/libgfortran/runtime/error.c b/libgfortran/runtime/error.c
index 2ccaff0..2e49869 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);