From be2d9b92623e1c403ef11db9428a2102e9ed3b0e Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Mon, 3 Jan 2005 17:06:35 +0000 Subject: [PATCH] 2004-12-26 Havoc Pennington * dbus/dbus-internals.h: add _DBUS_GNUC_NORETURN to _dbus_assert --- ChangeLog | 4 ++++ dbus/dbus-internals.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f37e712f..7a1c5425 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-12-26 Havoc Pennington + + * dbus/dbus-internals.h: add _DBUS_GNUC_NORETURN to _dbus_assert + 2005-01-03 Havoc Pennington * dbus/dbus-sysdeps.c (_dbus_sysdeps_test): fix using == on diff --git a/dbus/dbus-internals.h b/dbus/dbus-internals.h index 8560d4ec..28483c91 100644 --- a/dbus/dbus-internals.h +++ b/dbus/dbus-internals.h @@ -100,7 +100,7 @@ const char* _dbus_strerror (int error_number); void _dbus_real_assert (dbus_bool_t condition, const char *condition_text, const char *file, - int line); + int line) _DBUS_GNUC_NORETURN; #define _dbus_assert(condition) \ _dbus_real_assert ((condition) != 0, #condition, __FILE__, __LINE__) #endif /* !DBUS_DISABLE_ASSERT */ -- 2.34.1