summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apotele@gmail.com>2020-04-15 23:56:11 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2020-04-17 14:12:24 +0100
commitdb2356f5861d4a81d67c00843a15f5624cd21fb5 (patch)
tree208b185f9d57e020c7a9d4c2031b7345c261f8d7
parent3d5a1238af6a98f1e8f4b41f0faeda5921c92c52 (diff)
downloadxorg-driver-xf86-video-intel-db2356f5861d4a81d67c00843a15f5624cd21fb5.tar.gz
sna: fix typo for --enable-debug=full
A typo in tightly_packed define for builds with optimisation disabled left us creating many packed objects. When compiled with -fno-common the compiler rightfully complains about the duplication. Signed-off-by: Alexei Podtelezhnikov <apotele@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/compiler.h b/src/sna/compiler.h
index 2e579b15..c3d98797 100644
--- a/src/sna/compiler.h
+++ b/src/sna/compiler.h
@@ -50,7 +50,7 @@
#define must_check
#define constant
#define pure
-#define tighly_packed
+#define tightly_packed
#define flatten
#define nonnull
#define page_aligned