From f0d5dbe9bf0d507fd5b60bd7a90be09351f75249 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 12 Sep 2014 21:16:12 +0100 Subject: [PATCH] sna: Fix include guard ./xassert.h:24:9: warning: '__XASSERT_H___' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] ^~~~~~~~~~~~~~ ./xassert.h:25:9: note: '__XASSERT_H__' is defined here; did you mean '__XASSERT_H___'? ^~~~~~~~~~~~~ __XASSERT_H___ Reported-by: Zdenek Kabelac Signed-off-by: Chris Wilson --- src/sna/xassert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/xassert.h b/src/sna/xassert.h index 7ab2591d..7252ae82 100644 --- a/src/sna/xassert.h +++ b/src/sna/xassert.h @@ -21,7 +21,7 @@ * SOFTWARE. */ -#ifndef __XASSERT_H___ +#ifndef __XASSERT_H__ #define __XASSERT_H__ /* Rewrap the traditional assert so that we can capture the error message