mirror of https://git.tukaani.org/xz.git
liblzma: easy_preset: add header guard
Reported by github's codeql.
(cherry picked from commit 55dcae3056
)
This commit is contained in:
parent
6e76a25df2
commit
cede418d4f
|
@ -9,6 +9,9 @@
|
|||
//
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef LZMA_EASY_PRESET_H
|
||||
#define LZMA_EASY_PRESET_H
|
||||
|
||||
#include "common.h"
|
||||
|
||||
|
||||
|
@ -29,3 +32,5 @@ typedef struct {
|
|||
/// Set *easy to the settings given by the preset. Returns true on error,
|
||||
/// false on success.
|
||||
extern bool lzma_easy_preset(lzma_options_easy *easy, uint32_t preset);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue