]> git.sesse.net Git - vlc/commit
Introduce VLC_NORETURN function attribute and use it
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 17 Aug 2011 15:42:04 +0000 (18:42 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 17 Aug 2011 15:21:32 +0000 (18:21 +0300)
commitf7db1e80a30c83036c2dfb11f54e37c4103b162d
treedf7bed42def38981ff962f4a54d66145fd86ad07
parent9fd4a6a6ba45023d54cd2573e0842170fdfc1d94
Introduce VLC_NORETURN function attribute and use it

Note that this attribute implies that the function never returns in
any circumstances (it exits, it aborts or it gets cancelled).
Do not use this attribute for function that do not return at the end
but may return from other branches.
include/vlc_common.h
modules/access/mms/mmstu.c
modules/demux/live555.cpp
modules/misc/inhibit/xdg.c
modules/services_discovery/podcast.c
src/posix/thread.c
src/stream_output/sap.c
src/video_output/display.c