projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3343021
)
sd-boot: fix header guard
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 28 Aug 2018 05:20:08 +0000
(14:20 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 29 Aug 2018 14:05:15 +0000
(23:05 +0900)
Follow-up for
a42d7cf16515ab0ab62aaeff3aab5750c885b7e7
.
src/boot/efi/util.h
patch
|
blob
|
history
diff --git
a/src/boot/efi/util.h
b/src/boot/efi/util.h
index
ee57e0d
..
3baec8c
100644
(file)
--- a/
src/boot/efi/util.h
+++ b/
src/boot/efi/util.h
@@
-32,7
+32,6
@@
CHAR16 *stra_to_path(CHAR8 *stra);
CHAR16 *stra_to_str(CHAR8 *stra);
EFI_STATUS file_read(EFI_FILE_HANDLE dir, CHAR16 *name, UINTN off, UINTN size, CHAR8 **content, UINTN *content_size);
-#endif
static inline void FreePoolp(void *p) {
FreePool(*(void**) p);
@@
-40,3
+39,5
@@
static inline void FreePoolp(void *p) {
#define _cleanup_(x) __attribute__((cleanup(x)))
#define _cleanup_freepool_ _cleanup_(FreePoolp)
+
+#endif