From 329cc47ca64afa1b98b3fb672e47eef238e0f0bb Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 30 Jun 1987 15:24:02 +0000 Subject: [PATCH] putbyte --> C_putbyte --- modules/src/em_code/k/em.c | 8 ++++---- modules/src/em_code/k/em_private.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/src/em_code/k/em.c b/modules/src/em_code/k/em.c index 4c27ffd03..04e7a8040 100644 --- a/modules/src/em_code/k/em.c +++ b/modules/src/em_code/k/em.c @@ -8,12 +8,12 @@ #include #include "em_private.h" -#define put8(x) putbyte(x) +#define put8(x) C_putbyte(x) #define put16(x) put8((int) x); put8((int) (x >> 8)) #define put32(x) put16((int) x); put16((int) (x >> 16)) /* - putbyte(), C_open() and C_close() are the basic routines for + C_putbyte(), C_open() and C_close() are the basic routines for respectively write on, open and close the output file. The put_*() functions serve as formatting functions of the various EM language constructs. @@ -38,13 +38,13 @@ flush() { #define Xputbyte(c) if (opp == &obuf[BUFSIZ]) flush(); *opp++ = (c) -putbyte(b) +C_putbyte(b) int b; { Xputbyte(b); } -#define putbyte(c) Xputbyte(c) +#define C_putbyte(c) Xputbyte(c) C_init(w, p) arith w, p; diff --git a/modules/src/em_code/k/em_private.h b/modules/src/em_code/k/em_private.h index 5190ae5d1..3701206db 100644 --- a/modules/src/em_code/k/em_private.h +++ b/modules/src/em_code/k/em_private.h @@ -37,6 +37,6 @@ #define NL() #define CILB(x) CST((arith) x) -#define put_cend() putbyte(sp_cend) -#define put_op(x) putbyte(x) -#define put_ps(x) putbyte(x) +#define put_cend() C_putbyte(sp_cend) +#define put_op(x) C_putbyte(x) +#define put_ps(x) C_putbyte(x) -- 2.34.1