2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 /* @(#)assert.h 1.1 83/08/01 SMI; from UCB 4.1 83/05/03 */
11 /* Modified to dump core, rather than exit. May/85 RNS */
13 void AssertionFailed(char *file, int line);
15 #define assert(ex) do{if (!(ex)) AssertionFailed(__FILE__, __LINE__);}while(0)