diff options
-rw-r--r-- | lib/ZMakeAscii.c | 6 | ||||
-rw-r--r-- | lib/ZReadAscii.c | 6 |
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'; |