commit | 80e3f9901d310acecdc378f6921bf53fe1d45514 | [log] [tgz] |
---|---|---|
author | Phillip Lougher <phillip@squashfs.org.uk> | Sun Jul 07 02:32:43 2013 +0100 |
committer | Mohamad Ayyash <mkayyash@google.com> | Mon Feb 23 12:36:02 2015 -0800 |
tree | a624d202692f7ceeb2a821dee6550bb13c4bcd48 | |
parent | 5dfb7d6b00f94dee3cb2c9a1a143b2aeea86b957 [diff] |
lz4_wrapper: make global comp_opts a static inside lz4_dump_options This was global purely to allow lz4_dump_options() to return a pointer to it. However, making it global runs the risk coding mistakes which should refer to a local comp_opts are hidden as they pick up the global instead. As the global is potentially swapped and not in host byte order this isn't a good thing. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>