summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar John Kohl <jtkohl@mit.edu>1988-08-01 08:09:44 +0000
committerGravatar John Kohl <jtkohl@mit.edu>1988-08-01 08:09:44 +0000
commitf24fea8aed6fb10665d3b4d006e46588fcd0360c (patch)
tree1a4ea157b1863ce06b1604ca580b473682e1adeb
parent40989e32890b3500724ec1f6486fff9de9b62947 (diff)
change to use reserved function names
-rw-r--r--lib/ZMakeAscii.c6
-rw-r--r--lib/ZReadAscii.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/ZMakeAscii.c b/lib/ZMakeAscii.c
index b6c4a12..5c219be 100644
--- a/lib/ZMakeAscii.c
+++ b/lib/ZMakeAscii.c
@@ -42,8 +42,8 @@ Code_t ZMakeAscii(ptr, len, field, num)
}
if (len < 3)
return (ZERR_FIELDLEN);
- *ptr++ = cnvt_itox((int) (field[i] >> 4));
- *ptr++ = cnvt_itox((int) (field[i] & 0xf));
+ *ptr++ = Z_cnvt_itox((int) (field[i] >> 4));
+ *ptr++ = Z_cnvt_itox((int) (field[i] & 0xf));
len -= 2;
}
@@ -51,7 +51,7 @@ Code_t ZMakeAscii(ptr, len, field, num)
return (ZERR_NONE);
}
-cnvt_itox(i)
+Z_cnvt_itox(i)
int i;
{
i += '0';
diff --git a/lib/ZReadAscii.c b/lib/ZReadAscii.c
index b5ead0e..74b3e1a 100644
--- a/lib/ZReadAscii.c
+++ b/lib/ZReadAscii.c
@@ -42,8 +42,8 @@ int ZReadAscii(ptr, len, field, num)
if (len < 0)
return (ZERR_BADFIELD);
}
- c1 = cnvt_xtoi(ptr[0]);
- c2 = cnvt_xtoi(ptr[1]);
+ c1 = Z_cnvt_xtoi(ptr[0]);
+ c2 = Z_cnvt_xtoi(ptr[1]);
if (c1 < 0 || c2 < 0)
return(ZERR_BADFIELD);
hexbyte = (c1 << 4) | c2;
@@ -60,7 +60,7 @@ int ZReadAscii(ptr, len, field, num)
return (ZERR_NONE);
}
-cnvt_xtoi(c)
+Z_cnvt_xtoi(c)
char c;
{
c -= '0';