140865Sbostic /*- 2*62092Sbostic * Copyright (c) 1982, 1993 3*62092Sbostic * The Regents of the University of California. All rights reserved. 440865Sbostic * 540865Sbostic * %sccs.include.redist.c% 640865Sbostic */ 79133Smckusick 840865Sbostic #ifndef lint 9*62092Sbostic static char sccsid[] = "@(#)ASRTS.c 8.1 (Berkeley) 06/06/93"; 1040865Sbostic #endif /* not lint */ 119133Smckusick 129133Smckusick char EASRTS[] = "Assertion failed: %s\n"; 139133Smckusick ASRTS(cond,stmt)149133SmckusickASRTS(cond, stmt) 159133Smckusick short cond; 169133Smckusick char *stmt; 179133Smckusick { 189133Smckusick if (cond) 199133Smckusick return; 209133Smckusick ERROR(EASRTS, stmt); 219133Smckusick return; 229133Smckusick } 23