aboutsummaryrefslogtreecommitdiff
path: root/lib/libefivar/efivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libefivar/efivar.h')
-rw-r--r--lib/libefivar/efivar.h35
1 files changed, 1 insertions, 34 deletions
diff --git a/lib/libefivar/efivar.h b/lib/libefivar/efivar.h
index cba8a8e61849..5725bb029d7c 100644
--- a/lib/libefivar/efivar.h
+++ b/lib/libefivar/efivar.h
@@ -83,7 +83,7 @@ int efi_guid_to_symbol(efi_guid_t *guid, char **symbol);
int efi_guid_to_str(const efi_guid_t *guid, char **sp);
int efi_name_to_guid(const char *name, efi_guid_t *guid);
int efi_set_variable(efi_guid_t guid, const char *name,
- uint8_t *data, size_t data_size, uint32_t attributes, mode_t mode);
+ uint8_t *data, size_t data_size, uint32_t attributes);
int efi_str_to_guid(const char *s, efi_guid_t *guid);
int efi_variables_supported(void);
@@ -99,37 +99,4 @@ int efi_known_guid(struct uuid_table **);
extern const efi_guid_t efi_guid_empty;
-/* Stubs that are expected, but aren't really used */
-static inline int
-efi_error_get(unsigned int n __unused, char ** const fn __unused,
- char ** const func __unused, int *line __unused,
- char ** const msg __unused, int *err __unused)
-{
- return 0;
-}
-
-static inline int
-efi_error_set(const char *fn __unused, const char *func __unused,
- int line __unused, int err __unused, const char *fmt __unused, ...)
-{
- return 0;
-}
-
-static inline void
-efi_error_clear(void)
-{
-}
-
-static inline int
-efi_error(const char *fmt __unused, ...)
-{
- return 0;
-}
-
-static inline int
-efi_error_val(int val __unused, const char *fmt __unused, ...)
-{
- return 0;
-}
-
#endif /* _EFIVAR_H_ */