mirror of
https://git.tukaani.org/xz.git
synced 2025-03-31 04:40:56 +00:00
liblzma: easy_preset: add header guard
Reported by github's codeql. (cherry picked from commit 55dcae3056d95cb2ddb8b560c12ba7596bc79f2c)
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"
|
#include "common.h"
|
||||||
|
|
||||||
|
|
||||||
@ -29,3 +32,5 @@ typedef struct {
|
|||||||
/// Set *easy to the settings given by the preset. Returns true on error,
|
/// Set *easy to the settings given by the preset. Returns true on error,
|
||||||
/// false on success.
|
/// false on success.
|
||||||
extern bool lzma_easy_preset(lzma_options_easy *easy, uint32_t preset);
|
extern bool lzma_easy_preset(lzma_options_easy *easy, uint32_t preset);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user