liblzma: easy_preset: add header guard

Reported by github's codeql.

(cherry picked from commit 55dcae3056)
This commit is contained in:
Sam James 2024-04-15 05:53:56 +01:00 committed by Lasse Collin
parent 6e76a25df2
commit cede418d4f
1 changed files with 5 additions and 0 deletions

View File

@ -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