mirror of https://git.tukaani.org/xz.git
liblzma: easy_preset: add header guard
Reported by github's codeql.
This commit is contained in:
parent
4ffc60f323
commit
55dcae3056
|
@ -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