diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2015-10-14 15:13:42 -0700 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-10-26 12:20:35 -0400 |
commit | 2ae94d6e8978faff330e9433eddf1697ba4693f6 (patch) | |
tree | 21bab02c48ccf569f3d7c4f9e1fe0f4081e298f0 | |
parent | a88460ca82c7aed00177a5bb733b98a7f9b45968 (diff) | |
download | xserver-2ae94d6e8978faff330e9433eddf1697ba4693f6.tar.gz |
xdmcp: Declare XdmcpFatal _X_NORETURN
xdmcp.c:1404:1: warning: function 'XdmcpFatal' could be declared with attribute 'noreturn'
[-Wmissing-noreturn,Semantic Issue]
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
(cherry picked from commit 9a2a05a9a7ba02921fa29844c4cad41243c41326)
-rw-r--r-- | os/xdmcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/xdmcp.c b/os/xdmcp.c index 7939b4138..5bdcbe9c9 100644 --- a/os/xdmcp.c +++ b/os/xdmcp.c @@ -1399,6 +1399,7 @@ recv_alive_msg(unsigned length) } } +_X_NORETURN static void XdmcpFatal(const char *type, ARRAY8Ptr status) { |