summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2015-10-14 15:13:42 -0700
committerAdam Jackson <ajax@redhat.com>2015-10-19 11:49:54 -0400
commit9a2a05a9a7ba02921fa29844c4cad41243c41326 (patch)
tree85c3ba9e48c6de8ed22504fecdff47ae77eede69
parenta7a00e4bd8153e0386c7e58d6b30a7a96f15fdb0 (diff)
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>
-rw-r--r--os/xdmcp.c1
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)
{