aboutsummaryrefslogtreecommitdiff
path: root/linux/lib/xz/xz_stream.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-07-02 12:45:42 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-07-02 12:45:42 +0300
commit603618ef772fba9c1caa42e2f4e58ece13394993 (patch)
tree65cd7660b5ef959e27ca04b31ee96d52f45f5e25 /linux/lib/xz/xz_stream.h
parentf8e569c87d4487631179210cf6c4f2d2a2cb007f (diff)
downloadxz-embedded-603618ef772fba9c1caa42e2f4e58ece13394993.tar.gz
Omit explicit \0 from HEADER_MAGIC.
I thought it was more readable to write it there explicitly, but since C will put a \0 there anyway, relying on that can save one byte in code size.
Diffstat (limited to 'linux/lib/xz/xz_stream.h')
-rw-r--r--linux/lib/xz/xz_stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/lib/xz/xz_stream.h b/linux/lib/xz/xz_stream.h
index 36f2a7c..2ffaa34 100644
--- a/linux/lib/xz/xz_stream.h
+++ b/linux/lib/xz/xz_stream.h
@@ -25,7 +25,7 @@
#define STREAM_HEADER_SIZE 12
-#define HEADER_MAGIC "\3757zXZ\0"
+#define HEADER_MAGIC "\3757zXZ"
#define HEADER_MAGIC_SIZE 6
#define FOOTER_MAGIC "YZ"