1*40865Sbostic /*- 2*40865Sbostic * Copyright (c) 1982 The Regents of the University of California. 3*40865Sbostic * All rights reserved. 4*40865Sbostic * 5*40865Sbostic * %sccs.include.redist.c% 6*40865Sbostic */ 79133Smckusick 8*40865Sbostic #ifndef lint 9*40865Sbostic static char sccsid[] = "@(#)ASRTS.c 1.2 (Berkeley) 04/09/90"; 10*40865Sbostic #endif /* not lint */ 119133Smckusick 129133Smckusick char EASRTS[] = "Assertion failed: %s\n"; 139133Smckusick 149133Smckusick ASRTS(cond, stmt) 159133Smckusick short cond; 169133Smckusick char *stmt; 179133Smckusick { 189133Smckusick if (cond) 199133Smckusick return; 209133Smckusick ERROR(EASRTS, stmt); 219133Smckusick return; 229133Smckusick } 23