fnf@estinc.UUCP (Fred Fish) (07/18/89)
This is a minor patch to dbug.h for the DBUG package recently posted to comp.sources.misc. It keeps lint happy. Note that the type of _db_framep_ is somewhat ambiguous, since this is a chain of pointers, all of which point to another pointer of the same type. However, since the type conversion is hidden in dbug.c, lint never sees it now. *** dbug.h.old Mon Jul 17 20:29:14 1989 --- dbug.h Mon Jul 17 20:29:22 1989 *************** *** 39,45 * * SCCS ID * ! * @(#)dbug.h 1.12 4/2/89 * * DESCRIPTION * --- 39,45 ----- * * SCCS ID * ! * @(#)dbug.h 1.13 7/17/89 * * DESCRIPTION * *************** *** 129,135 # else # define DBUG_ENTER(a) \ auto char *_db_func_; auto char *_db_file_; auto int _db_level_; \ ! auto char *_db_framep_; \ _db_enter_ (a,__FILE__,__LINE__,&_db_func_,&_db_file_,&_db_level_, \ &_db_framep_) # define DBUG_LEAVE \ --- 129,135 ----- # else # define DBUG_ENTER(a) \ auto char *_db_func_; auto char *_db_file_; auto int _db_level_; \ ! auto char **_db_framep_; \ _db_enter_ (a,__FILE__,__LINE__,&_db_func_,&_db_file_,&_db_level_, \ &_db_framep_) # define DBUG_LEAVE \ -- # Fred Fish, 1835 E. Belmont Drive, Tempe, AZ 85284, USA # 1-602-491-0048 asuvax!{nud,mcdphx}!estinc!fnf