version 1.5, 2008/06/21 20:41:48 |
version 1.5.10.1, 2011/01/10 00:42:18 |
|
|
/* $NetBSD$ */ |
/* $NetBSD$ */ |
|
|
/* |
/* |
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") |
* Copyright (C) 2004, 2005, 2008 Internet Systems Consortium, Inc. ("ISC") |
* Copyright (c) 1997,1999 by Internet Software Consortium. |
* Copyright (C) 1997, 1999, 2001 Internet Software Consortium. |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and/or distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
* copyright notice and this permission notice appear in all copies. |
* copyright notice and this permission notice appear in all copies. |
* |
* |
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES |
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH |
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY |
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR |
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, |
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM |
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT |
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
* PERFORMANCE OF THIS SOFTWARE. |
*/ |
*/ |
|
|
#include <sys/cdefs.h> |
#include <sys/cdefs.h> |
#if !defined(LINT) && !defined(CODECENTER) && !defined(lint) |
#if !defined(LINT) && !defined(CODECENTER) && !defined(lint) |
#ifdef notdef |
#ifdef notdef |
static const char rcsid[] = "Id: assertions.c,v 1.3 2005/04/27 04:56:34 sra Exp"; |
static const char rcsid[] = "Id: assertions.c,v 1.5 2008/11/14 02:36:51 marka Exp"; |
#else |
#else |
__RCSID("$NetBSD$"); |
__RCSID("$NetBSD$"); |
#endif |
#endif |
Line 85 assertion_type_to_text(assertion_type ty |
|
Line 85 assertion_type_to_text(assertion_type ty |
|
* Private. |
* Private. |
*/ |
*/ |
|
|
|
/* coverity[+kill] */ |
static void |
static void |
default_assertion_failed(const char *file, int line, assertion_type type, |
default_assertion_failed(const char *file, int line, assertion_type type, |
const char *cond, int print_errno) |
const char *cond, int print_errno) |