Skip to content

Commit

Permalink
Fix redundant decl of efi_guid_zero.
Browse files Browse the repository at this point in the history
This fixes github issue #62

Signed-off-by: Peter Jones <pjones@redhat.com>
  • Loading branch information
vathpela committed Sep 13, 2016
1 parent 9b3155b commit d9e9ec3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/guid.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

#define GUID_LENGTH_WITH_NUL 37

extern const efi_guid_t efi_guid_zero;

int
__attribute__((__nonnull__ (1, 2)))
__attribute__((__visibility__ ("default")))
Expand Down
2 changes: 0 additions & 2 deletions src/include/efivar/efivar.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ extern int efi_id_guid_to_guid(const char *name, efi_guid_t *guid)
extern int efi_symbol_to_guid(const char *symbol, efi_guid_t *guid)
__attribute__((__nonnull__ (1, 2)));

extern const efi_guid_t efi_guid_zero;

extern int efi_guid_is_zero(const efi_guid_t *guid);
extern int efi_guid_is_empty(const efi_guid_t *guid);
extern int efi_guid_cmp(const efi_guid_t *a, const efi_guid_t *b);
Expand Down

0 comments on commit d9e9ec3

Please sign in to comment.