diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-06-01 12:01:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:53:08 -0500 |
commit | c2781df0d5477be58c3189c6d3c17b261d7b8b89 (patch) | |
tree | 9866ad20f9b439bbdca4c6ed6191e3f084f75091 /source4/lib/json | |
parent | aec9320dc2fdf03d5187f60749c5f3ad238bf58d (diff) | |
download | samba-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/lib/json')
-rw-r--r-- | source4/lib/json/debug.c | 2 | ||||
-rw-r--r-- | source4/lib/json/linkhash.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/json/debug.c b/source4/lib/json/debug.c index eaa6fca33c..a315b0e2a4 100644 --- a/source4/lib/json/debug.c +++ b/source4/lib/json/debug.c @@ -41,7 +41,7 @@ extern void mc_set_syslog(int syslog) _syslog = syslog; } -void mc_abort(const char *msg, ...) +_NORETURN_ void mc_abort(const char *msg, ...) { va_list ap; va_start(ap, msg); diff --git a/source4/lib/json/linkhash.c b/source4/lib/json/linkhash.c index 6cfc9a0ea6..b04254b597 100644 --- a/source4/lib/json/linkhash.c +++ b/source4/lib/json/linkhash.c @@ -20,7 +20,7 @@ #include "linkhash.h" -void lh_abort(const char *msg, ...) +_NORETURN_ void lh_abort(const char *msg, ...) { va_list ap; va_start(ap, msg); |