diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-22 00:15:11 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-22 00:15:11 +0200 |
commit | 0ed6f1adcea540fb9593ca115d36de537f7f0dc6 (patch) | |
tree | e6accc3efc9437823e77569145c537ab50159058 /src/liblzma/api | |
parent | Updated debug/sync_flush.c. (diff) | |
download | xz-0ed6f1adcea540fb9593ca115d36de537f7f0dc6.tar.xz |
Made lzma_extra pointers const in lzma_options_stream.
Diffstat (limited to 'src/liblzma/api')
-rw-r--r-- | src/liblzma/api/lzma/stream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/api/lzma/stream.h b/src/liblzma/api/lzma/stream.h index be86075f..d111be37 100644 --- a/src/liblzma/api/lzma/stream.h +++ b/src/liblzma/api/lzma/stream.h @@ -111,7 +111,7 @@ typedef struct { /** * \brief Extra information in the Header Metadata Block */ - lzma_extra *header; + const lzma_extra *header; /** * \brief Extra information in the Footer Metadata Block @@ -119,7 +119,7 @@ typedef struct { * It is enough to set this pointer any time before calling * lzma_code() with LZMA_FINISH as the second argument. */ - lzma_extra *footer; + const lzma_extra *footer; } lzma_options_stream; |