summaryrefslogtreecommitdiff
path: root/cgpt/cmd_show.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2014-06-20 14:33:00 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-06-26 02:41:51 +0000
commit4cb5497984642b8cbd592c14cb1912a787b2d4d7 (patch)
treeccbe3692c68a78c7e4ee27bd31d967ade51f0a3f /cgpt/cmd_show.c
parentc9e039c1b39509cf301dc38947db021f0243c817 (diff)
downloadvboot-4cb5497984642b8cbd592c14cb1912a787b2d4d7.tar.gz
Remove cgpt app-specific symbols from libvboot_host.a
Three symbols used by the standalone cgpt executable were being referenced in the files used to create the external libvboot_host.a needed by non-vboot userspace applications. This cleans things up so those symbols don't have to be explictly defined by other repos just to link with that library. BUG=chromium:318536 BRANCH=ToT TEST=manual No new functionality, just code cleanup. Tested with make runtests runfutiltests runlongtests Change-Id: Ibc77fb9800c89d7109ebf38d4d6729f52665722f Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/205667 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'cgpt/cmd_show.c')
-rw-r--r--cgpt/cmd_show.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgpt/cmd_show.c b/cgpt/cmd_show.c
index 1b31f392..df4cba1f 100644
--- a/cgpt/cmd_show.c
+++ b/cgpt/cmd_show.c
@@ -10,6 +10,8 @@
#include "cgpt.h"
#include "vboot_host.h"
+extern const char* progname;
+
static void Usage(void)
{
printf("\nUsage: %s show [OPTIONS] DRIVE\n\n"