aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-08-27 08:05:55 +0000
committerEric Wong <normalperson@yhbt.net>2007-08-27 08:05:55 +0000
commit0f2e9ee6623ab30c190dfc5c575922af1990c9d9 (patch)
treef873b0f2cd267482ffda8e63fc9bc44a07068fc8 /src/log.h
parent75e34a19a3094b975da38fcfaea5d519a60b34a1 (diff)
downloadmpd-0f2e9ee6623ab30c190dfc5c575922af1990c9d9.tar.gz
mpd-0f2e9ee6623ab30c190dfc5c575922af1990c9d9.tar.xz
mpd-0f2e9ee6623ab30c190dfc5c575922af1990c9d9.zip
export FATAL() with noreturn attribute
This attribute was set in log.c, but not exported to other modules in log.h This allows us to remove some unneccessary variable initializations that were added in r6277. I did audioOutput_shout.c a bit differently, to avoid some jumps. before: $ size src/mpd text data bss dec hex filename 225546 4040 14600 244186 3b9da src/mpd after: $ size src/mpd text data bss dec hex filename 224698 4040 14600 243338 3b68a src/mpd git-svn-id: https://svn.musicpd.org/mpd/trunk@6821 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.h b/src/log.h
index 34f6ac00e..3ba7afe86 100644
--- a/src/log.h
+++ b/src/log.h
@@ -33,7 +33,7 @@ mpd_printf void LOG(const char *fmt, ...);
mpd_printf void SECURE(const char *fmt, ...);
mpd_printf void DEBUG(const char *fmt, ...);
mpd_printf void WARNING(const char *fmt, ...);
-mpd_printf void FATAL(const char *fmt, ...);
+mpd_printf mpd_noreturn void FATAL(const char *fmt, ...);
void initLog(const int verbose);