diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-02-14 20:06:06 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-02-14 20:06:06 +0000 |
commit | 5369c62df0e379d35354c05e62b5e7bd14400b09 (patch) | |
tree | e6317bbfc1895c8169c233179fd2f165ae608916 /sys/lib | |
parent | 5fc066e53bfb634aa5e242388254d45cfcd64a4d (diff) |
make z_error be a panic
Diffstat (limited to 'sys/lib')
-rw-r--r-- | sys/lib/libz/zutil.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/lib/libz/zutil.h b/sys/lib/libz/zutil.h index af4c9c3db3c..9b7250de2e5 100644 --- a/sys/lib/libz/zutil.h +++ b/sys/lib/libz/zutil.h @@ -8,7 +8,7 @@ subject to change. Applications should only use zlib.h. */ -/* @(#) $Id: zutil.h,v 1.8 1999/02/14 19:47:37 mickey Exp $ */ +/* @(#) $Id: zutil.h,v 1.9 1999/02/14 20:06:05 mickey Exp $ */ #ifndef _Z_UTIL_H #define _Z_UTIL_H @@ -194,6 +194,7 @@ extern const char *z_errmsg[10]; /* indexed by 2-zlib_error */ #ifdef DEBUG extern int z_verbose; extern void z_error OF((char *m)); +# define z_error panic # define Assert(cond,msg) {if(!(cond)) z_error(msg);} # define Trace(x) {if (z_verbose>=0) printf x ;} # define Tracev(x) {if (z_verbose>0) printf x ;} |