summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-09-12 21:16:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-09-12 21:16:12 +0100
commitf0d5dbe9bf0d507fd5b60bd7a90be09351f75249 (patch)
tree478df591d0727c01c98a89ba706b6de9ed736a83
parent7548f77fff1832c038e624c655d534387619d825 (diff)
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 <zkabelac@redhat.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/xassert.h2
1 files changed, 1 insertions, 1 deletions
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