diff options
| author | wkj <devnull@localhost> | 2004-05-17 02:24:15 +0000 |
|---|---|---|
| committer | wkj <devnull@localhost> | 2004-05-17 02:24:15 +0000 |
| commit | e8fb1d3efb114d1859f14fda2b6681d99df1f48a (patch) | |
| tree | a3b437370521c9eff6cab00dd77fd2d95a3dc090 /src/cmd/postscript/tr2post/pictures.c | |
| parent | 8a3cbc157981485adc947c0477dc3e4907acc9a3 (diff) | |
| download | plan9port-e8fb1d3efb114d1859f14fda2b6681d99df1f48a.tar.gz plan9port-e8fb1d3efb114d1859f14fda2b6681d99df1f48a.zip | |
tr2post and aux/download; download is a shell script in $PLAN9/bin.
Diffstat (limited to 'src/cmd/postscript/tr2post/pictures.c')
| -rw-r--r-- | src/cmd/postscript/tr2post/pictures.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cmd/postscript/tr2post/pictures.c b/src/cmd/postscript/tr2post/pictures.c index 8d758cbd..1246bcf6 100644 --- a/src/cmd/postscript/tr2post/pictures.c +++ b/src/cmd/postscript/tr2post/pictures.c @@ -50,8 +50,8 @@ /* #include "ext.h" */ Biobuf *bfp_pic = NULL; -Biobufhdr *Bfp_pic; -Biobufhdr *picopen(char *); +Biobuf *Bfp_pic; +Biobuf *picopen(char *); #define MAXGETFIELDS 16 char *fields[MAXGETFIELDS]; @@ -63,7 +63,7 @@ extern int picflag; /*****************************************************************************/ void -picture(Biobufhdr *inp, char *buf) { +picture(Biobuf *inp, char *buf) { int poffset; /* page offset */ int indent; /* indent */ int length; /* line length */ @@ -80,7 +80,7 @@ picture(Biobufhdr *inp, char *buf) { double adjx = 0.5; /* left-right adjustment */ double adjy = 0.5; /* top-bottom adjustment */ double rot = 0; /* rotation in clockwise degrees */ - Biobufhdr *fp_in; /* for *name */ + Biobuf *fp_in; /* for *name */ int i; /* loop index */ /* @@ -195,13 +195,13 @@ picture(Biobufhdr *inp, char *buf) { * open file *path and return the resulting file pointer to the caller. * */ -Biobufhdr * +Biobuf * picopen(char *path) { /* char name[100]; /* pathnames */ /* long pos; /* current position */ /* long total; /* and sizes - from *fp_pic */ Biobuf *bfp; - Biobufhdr *Bfp; /* and pointer for the new temp file */ + Biobuf *Bfp; /* and pointer for the new temp file */ if ((bfp = Bopen(path, OREAD)) == 0) @@ -285,7 +285,7 @@ inlinepic(Biobufhdr *Bfp, char *buf) { /* *fp_out; and output file pointers */ /* total; number of bytes to be copied */ void -piccopy(Biobufhdr *Bfp_in, Biobufhdr *Bfp_out, long total) { +piccopy(Biobuf *Bfp_in, Biobuf *Bfp_out, long total) { long i; for (i = 0; i < total; i++) |
