xf86-video-intel: src/sna/sna_display.c

Chris Wilson ickle at kemper.freedesktop.org
Tue Dec 15 09:59:52 PST 2015


 src/sna/sna_display.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 82293901da23d79fd074e5255fda5c95405d52de
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Dec 15 17:56:32 2015 +0000

    sna: Need function definitions as well
    
    Oops, accidentally only commited the function declaration and not the
    function definition for the non-debug path.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 3de232b..1b39f20 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -1306,8 +1306,8 @@ static void kmsg_close(struct kmsg *k, int dump)
 }
 #else
 struct kmsg { int unused; };
-static void kmsg_open(struct kmsg *k);
-static void kmsg_close(struct kmsg *k, int dump);
+static void kmsg_open(struct kmsg *k) {}
+static void kmsg_close(struct kmsg *k, int dump) {}
 #endif
 
 static bool


More information about the xorg-commit mailing list