projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7a1d89
)
gmessages: Add G_GNUC_NORETURN to g_error static function declaration
author
Ting-Wei Lan
<lantw@src.gnome.org>
Wed, 18 Feb 2015 17:18:42 +0000
(
01:18
+0800)
committer
Ting-Wei Lan
<lantw@src.gnome.org>
Sun, 28 Jun 2015 20:11:39 +0000
(
04:11
+0800)
https://bugzilla.gnome.org/show_bug.cgi?id=741901
glib/gmessages.h
patch
|
blob
|
history
diff --git
a/glib/gmessages.h
b/glib/gmessages.h
index
a38652d
..
1e146a8
100644
(file)
--- a/
glib/gmessages.h
+++ b/
glib/gmessages.h
@@
-198,7
+198,7
@@
void g_assert_warning (const char *log_domain,
G_LOG_LEVEL_DEBUG, \
format)
#else /* no varargs macros */
-static void g_error (const gchar *format, ...) G_ANALYZER_NORETURN;
+static void g_error (const gchar *format, ...) G_
GNUC_NORETURN G_
ANALYZER_NORETURN;
static void g_critical (const gchar *format, ...) G_ANALYZER_NORETURN;
static void