liblzma: easy_preset: add header guard

Reported by github's codeql.
This commit is contained in:
Sam James 2024-04-15 05:53:56 +01:00 committed by Lasse Collin
parent 4ffc60f323
commit 55dcae3056
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