diff options
Diffstat (limited to 'meta-oe/recipes-extended/efivar/efivar/0001-Remove-some-extra-const-that-gcc-complains-about.patch')
-rw-r--r-- | meta-oe/recipes-extended/efivar/efivar/0001-Remove-some-extra-const-that-gcc-complains-about.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/meta-oe/recipes-extended/efivar/efivar/0001-Remove-some-extra-const-that-gcc-complains-about.patch b/meta-oe/recipes-extended/efivar/efivar/0001-Remove-some-extra-const-that-gcc-complains-about.patch deleted file mode 100644 index 4ae8cb90f..000000000 --- a/meta-oe/recipes-extended/efivar/efivar/0001-Remove-some-extra-const-that-gcc-complains-about.patch +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | From 29a2dea16113b5a8e51de46437c6a9f7426c5867 Mon Sep 17 00:00:00 2001 | ||
2 | From: Peter Jones <pjones@redhat.com> | ||
3 | Date: Mon, 6 Feb 2017 14:28:19 -0500 | ||
4 | Subject: [PATCH 1/2] Remove some extra "const" that gcc complains about. | ||
5 | |||
6 | One of these days I'll get these right. | ||
7 | |||
8 | Signed-off-by: Peter Jones <pjones@redhat.com> | ||
9 | --- | ||
10 | src/include/efivar/efiboot-loadopt.h | 4 ++-- | ||
11 | src/loadopt.c | 2 +- | ||
12 | 2 files changed, 3 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/src/include/efivar/efiboot-loadopt.h b/src/include/efivar/efiboot-loadopt.h | ||
15 | index 07db5c4..efc29c6 100644 | ||
16 | --- a/src/include/efivar/efiboot-loadopt.h | ||
17 | +++ b/src/include/efivar/efiboot-loadopt.h | ||
18 | @@ -32,8 +32,8 @@ extern ssize_t efi_loadopt_create(uint8_t *buf, ssize_t size, | ||
19 | |||
20 | extern efidp efi_loadopt_path(efi_load_option *opt, ssize_t limit) | ||
21 | __attribute__((__nonnull__ (1))); | ||
22 | -extern const unsigned char const * efi_loadopt_desc(efi_load_option *opt, | ||
23 | - ssize_t limit) | ||
24 | +extern const unsigned char * efi_loadopt_desc(efi_load_option *opt, | ||
25 | + ssize_t limit) | ||
26 | __attribute__((__visibility__ ("default"))) | ||
27 | __attribute__((__nonnull__ (1))); | ||
28 | extern uint32_t efi_loadopt_attrs(efi_load_option *opt) | ||
29 | diff --git a/src/loadopt.c b/src/loadopt.c | ||
30 | index 64e333f..ec50722 100644 | ||
31 | --- a/src/loadopt.c | ||
32 | +++ b/src/loadopt.c | ||
33 | @@ -336,7 +336,7 @@ teardown(void) | ||
34 | |||
35 | __attribute__((__nonnull__ (1))) | ||
36 | __attribute__((__visibility__ ("default"))) | ||
37 | -const unsigned char const * | ||
38 | +const unsigned char * | ||
39 | efi_loadopt_desc(efi_load_option *opt, ssize_t limit) | ||
40 | { | ||
41 | if (last_desc) { | ||
42 | -- | ||
43 | 2.12.2 | ||
44 | |||