summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-11 15:34:12 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-11 15:36:09 -0700
commit4b467a246c625be565cb18fdd302f5f61bced5f2 (patch)
tree850ed4490f8356cbb5727025f35b446d828e6d3a
parent2f80557c9dfbf8c5ef8eceee54a5a346d89400ee (diff)
Mark usage() as _X_COLD
Raises minimum xproto requirement to 7.0.25 from Nov. 2013 to get the _X_COLD definition in <X11/Xfuncproto.h> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac2
-rw-r--r--xfsinfo.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 897cd7f..79bfee9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,7 @@ XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XFSINFO, [xproto >= 7.0.17 libfs])
+PKG_CHECK_MODULES(XFSINFO, [xproto >= 7.0.25 libfs])
AC_CONFIG_FILES([
Makefile
diff --git a/xfsinfo.c b/xfsinfo.c
index 5a00928..91556db 100644
--- a/xfsinfo.c
+++ b/xfsinfo.c
@@ -72,7 +72,7 @@ static void print_alternate_info(FSServer *svr);
static char *progname;
-static void _X_NORETURN
+static void _X_NORETURN _X_COLD
usage(void)
{
fprintf(stderr, "usage: %s [-server server_name] [-version]\n", progname);