diff options
author | Richard Basch <probe@mit.edu> | 1993-09-24 17:31:55 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-09-24 17:31:55 +0000 |
commit | 22e99bd4b7b3fa561ae60e23620b7638ae939874 (patch) | |
tree | 5c8726aa6aa943efb40c1dfa627a75ed8a6106b8 /zwgc | |
parent | b09f77f36a2f6ade6695bfd83095f3400bce0f01 (diff) |
Changed bcopy to _BCOPY (defined in <zephyr/zephyr_conf.h>)
Diffstat (limited to 'zwgc')
-rw-r--r-- | zwgc/formatter.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/zwgc/formatter.c b/zwgc/formatter.c index bf71cdf..08dc5a1 100644 --- a/zwgc/formatter.c +++ b/zwgc/formatter.c @@ -17,6 +17,7 @@ static char rcsid_formatter_c[] = "$Id$"; #endif #include <zephyr/mit-copyright.h> +#include <zephyr/zephyr.h> #include <stdio.h> #include <ctype.h> @@ -248,7 +249,7 @@ string verbatim(str, bracketsonly) temp=(char *) malloc((len=strlen(str))+4); temp[0]='@'; temp[1]='<'; - bcopy(str,temp+2,len); + _BCOPY(str,temp+2,len); temp[len+2]='>'; temp[len+3]='\0'; free(str); @@ -258,7 +259,7 @@ string verbatim(str, bracketsonly) temp=(char *) malloc((len=strlen(str))+4); temp[0]='@'; temp[1]='['; - bcopy(str,temp+2,len); + _BCOPY(str,temp+2,len); temp[len+2]=']'; temp[len+3]='\0'; free(str); @@ -268,7 +269,7 @@ string verbatim(str, bracketsonly) temp=(char *) malloc((len=strlen(str))+4); temp[0]='@'; temp[1]='{'; - bcopy(str,temp+2,len); + _BCOPY(str,temp+2,len); temp[len+2]='}'; temp[len+3]='\0'; free(str); @@ -278,7 +279,7 @@ string verbatim(str, bracketsonly) temp=(char *) malloc((len=strlen(str))+4); temp[0]='@'; temp[1]='('; - bcopy(str,temp+2,len); + _BCOPY(str,temp+2,len); temp[len+2]=')'; temp[len+3]='\0'; free(str); @@ -426,7 +427,7 @@ static int text_length(text,terminator) return(len); if (*(text+1)=='@') - bcopy(text+2,text+1,strlen(text+1)); + _BCOPY(text+2,text+1,strlen(text+1)); else if (env_length(text+1) != -1) return(len); |