diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2010-07-02 12:45:42 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2010-07-02 12:45:42 +0300 |
commit | 603618ef772fba9c1caa42e2f4e58ece13394993 (patch) | |
tree | 65cd7660b5ef959e27ca04b31ee96d52f45f5e25 /linux/lib | |
parent | f8e569c87d4487631179210cf6c4f2d2a2cb007f (diff) | |
download | xz-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')
-rw-r--r-- | linux/lib/xz/xz_stream.h | 2 |
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" |