summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--xrandr.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index e4359a2..a729fc5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,7 @@ AC_CONFIG_HEADERS([config.h])
AC_CHECK_LIB(m,floor)
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XRANDR, xrandr >= 1.3 xrender x11)
+PKG_CHECK_MODULES(XRANDR, xrandr >= 1.3 xrender x11 xproto >= 7.0.17)
AC_CONFIG_FILES([
Makefile
diff --git a/xrandr.c b/xrandr.c
index 558fa45..d03d3a2 100644
--- a/xrandr.c
+++ b/xrandr.c
@@ -88,7 +88,7 @@ static const struct {
{ NULL, 0 }
};
-static void
+static void _X_NORETURN
usage(void)
{
fprintf(stderr, "usage: %s [options]\n", program_name);
@@ -146,7 +146,7 @@ usage(void)
/*NOTREACHED*/
}
-static void
+static void _X_NORETURN
fatal (const char *format, ...)
{
va_list ap;
@@ -1509,7 +1509,7 @@ revert (void)
* the configuration. Revert to the previous configuration
* and bail
*/
-static void
+static void _X_NORETURN
panic (Status s, crtc_t *crtc)
{
int c = crtc->crtc.index;