xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/efibootmgr/efibootmgr/0001-remove-extra-decl.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 99b578501643377e0b1994b2a068b790d189d5ad Mon Sep 17 00:00:00 2001
2From: Peter Jones <pjones@redhat.com>
3Date: Wed, 13 Jun 2018 09:41:01 -0400
4Subject: [PATCH] remove extra decl
5
6Signed-off-by: Peter Jones <pjones@redhat.com>
7
8Upstream-Status: Backport [git://github.com/rhinstaller/efibootmgr.git]
9Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
10
11---
12 src/efibootmgr.c | 3 ---
13 1 file changed, 3 deletions(-)
14
15diff --git a/src/efibootmgr.c b/src/efibootmgr.c
16index de38f01..4e1a680 100644
17--- a/src/efibootmgr.c
18+++ b/src/efibootmgr.c
19@@ -1536,9 +1536,6 @@ parse_opts(int argc, char **argv)
20 					       "invalid numeric value %s\n",
21 					       optarg);
22 			}
23-                        /* XXX efivar-36 accidentally doesn't have a public
24-                         * header for this */
25-			extern int efi_set_verbose(int verbosity, FILE *errlog);
26 			efi_set_verbose(opts.verbose - 2, stderr);
27 			break;
28 		case 'V':
29--
302.7.4
31
32