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/common/misc.c | |
parent | 8a3cbc157981485adc947c0477dc3e4907acc9a3 (diff) | |
download | plan9port-e8fb1d3efb114d1859f14fda2b6681d99df1f48a.tar.gz plan9port-e8fb1d3efb114d1859f14fda2b6681d99df1f48a.tar.bz2 plan9port-e8fb1d3efb114d1859f14fda2b6681d99df1f48a.zip |
tr2post and aux/download; download is a shell script in $PLAN9/bin.
Diffstat (limited to 'src/cmd/postscript/common/misc.c')
-rw-r--r-- | src/cmd/postscript/common/misc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cmd/postscript/common/misc.c b/src/cmd/postscript/common/misc.c index 198a9351..e965a6ee 100644 --- a/src/cmd/postscript/common/misc.c +++ b/src/cmd/postscript/common/misc.c @@ -18,6 +18,10 @@ int nolist = 0; /* number of specified ranges */ int olist[50]; /* processing range pairs */ +int str_convert(char **str, int err); +void error(int kind, char *mesg, unsigned int a1, unsigned int a2, unsigned int a3); +int cat(char *file); + /*****************************************************************************/ extern int str_convert(); @@ -44,7 +48,7 @@ out_list(str) stop = str_convert(&str, 9999); if ( start > stop ) - error(FATAL, "illegal range %d-%d", start, stop); + error(FATAL, "illegal range %d-%d", start, stop, 0); olist[nolist++] = start; olist[nolist++] = stop; |