[PATCH xquartz 09/10] xdmcp: Declare XdmcpFatal _X_NORETURN
Jeremy Huddleston Sequoia
jeremyhu at apple.com
Wed Oct 14 15:13:42 PDT 2015
xdmcp.c:1404:1: warning: function 'XdmcpFatal' could be declared with attribute 'noreturn'
[-Wmissing-noreturn,Semantic Issue]
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
---
os/xdmcp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/os/xdmcp.c b/os/xdmcp.c
index 7939b41..5bdcbe9 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)
{
--
2.6.1
More information about the xorg-devel
mailing list