summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/common
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-06-01 12:01:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:08 -0500
commitc2781df0d5477be58c3189c6d3c17b261d7b8b89 (patch)
tree9866ad20f9b439bbdca4c6ed6191e3f084f75091 /source4/cluster/ctdb/common
parentaec9320dc2fdf03d5187f60749c5f3ad238bf58d (diff)
downloadsamba-c2781df0d5477be58c3189c6d3c17b261d7b8b89.tar.gz
samba-c2781df0d5477be58c3189c6d3c17b261d7b8b89.tar.bz2
samba-c2781df0d5477be58c3189c6d3c17b261d7b8b89.zip
r23289: Provide support for GCC attributes _PURE_, _NONNULL_, _DEPRECATED_, _NORETURN_ and _WARN_UNUSED_RESULT_.
(This used to be commit 44248f662f0b609dad6a7b437948f12d661a28f7)
Diffstat (limited to 'source4/cluster/ctdb/common')
-rw-r--r--source4/cluster/ctdb/common/ctdb_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cluster/ctdb/common/ctdb_util.c b/source4/cluster/ctdb/common/ctdb_util.c
index 9a5e51bfa0..49f7a55abf 100644
--- a/source4/cluster/ctdb/common/ctdb_util.c
+++ b/source4/cluster/ctdb/common/ctdb_util.c
@@ -52,7 +52,7 @@ void ctdb_set_error(struct ctdb_context *ctdb, const char *fmt, ...)
/*
a fatal internal error occurred - no hope for recovery
*/
-void ctdb_fatal(struct ctdb_context *ctdb, const char *msg)
+_NORETURN_ void ctdb_fatal(struct ctdb_context *ctdb, const char *msg)
{
DEBUG(0,("ctdb fatal error: %s\n", msg));
fprintf(stderr, "ctdb fatal error: '%s'\n", msg);