include/grub/verify.h: Add include guard
verify.h was added without include guards. This means compiling anything including both include/grub/verify.h and include/grub/lib/cmdline.h fails (at least grub-core/loader/arm64/linux.c. Add the necessary include guard. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
a0a7a57cd7
commit
4310866a14
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,9 @@
|
||||||
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
|
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef GRUB_VERIFY_HEADER
|
||||||
|
#define GRUB_VERIFY_HEADER 1
|
||||||
|
|
||||||
#include <grub/file.h>
|
#include <grub/file.h>
|
||||||
#include <grub/list.h>
|
#include <grub/list.h>
|
||||||
|
|
||||||
|
@ -76,3 +79,5 @@ grub_verifier_unregister (struct grub_file_verifier *ver)
|
||||||
|
|
||||||
grub_err_t
|
grub_err_t
|
||||||
grub_verify_string (char *str, enum grub_verify_string_type type);
|
grub_verify_string (char *str, enum grub_verify_string_type type);
|
||||||
|
|
||||||
|
#endif /* ! GRUB_VERIFY_HEADER */
|
||||||
|
|
Loading…
Reference in a new issue