aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/adt/numutils.c')
-rw-r--r--src/backend/utils/adt/numutils.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/adt/numutils.c b/src/backend/utils/adt/numutils.c
index 3d4956afe2e..ea188e70f31 100644
--- a/src/backend/utils/adt/numutils.c
+++ b/src/backend/utils/adt/numutils.c
@@ -3,7 +3,7 @@
* numutils.c
* utility functions for I/O of built-in numeric types.
*
- * integer: itoa, ltoa
+ * integer: pg_itoa, pg_ltoa
* floating point: ftoa, atof1
*
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.41 2000/07/12 22:59:09 petere Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.42 2000/08/01 18:29:35 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -116,27 +116,27 @@ pg_atoi(char *s, int size, int c)
}
/*
- * itoa - converts a short int to its string represention
+ * pg_itoa - converts a short int to its string represention
*
* Note:
* previously based on ~ingres/source/gutil/atoi.c
* now uses vendor's sprintf conversion
*/
void
-itoa(int i, char *a)
+pg_itoa(int16 i, char *a)
{
sprintf(a, "%hd", (short) i);
}
/*
- * ltoa - converts a long int to its string represention
+ * pg_ltoa - converts a long int to its string represention
*
* Note:
* previously based on ~ingres/source/gutil/atoi.c
* now uses vendor's sprintf conversion
*/
void
-ltoa(int32 l, char *a)
+pg_ltoa(int32 l, char *a)
{
sprintf(a, "%d", l);
}