Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: firmware/stub/tlcl.c

Issue 2809037: Make vboot_reference build in MSVC command line environment. (Closed) Base URL: ssh://git@chromiumos-git/vboot_reference.git
Patch Set: Integrated trunk changes. Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « firmware/stub/load_firmware_stub.c ('k') | firmware/stub/utility_stub.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: firmware/stub/tlcl.c
diff --git a/firmware/stub/tlcl.c b/firmware/stub/tlcl.c
index 23f0f09ad3575c60c4fdf766fd82db0d0fd1243e..cad286a8c11746e31b0a3371689163c48da81e45 100644
--- a/firmware/stub/tlcl.c
+++ b/firmware/stub/tlcl.c
@@ -7,6 +7,9 @@
#include "tss_constants.h"
+/* disable MSVC warnings on unused arguments */
+__pragma(warning (disable: 4100))
+
void TlclLibInit(void) { return; }
uint32_t TlclStartup(void) { return TPM_SUCCESS; }
uint32_t TlclSelftestfull(void) { return TPM_SUCCESS; }
« no previous file with comments | « firmware/stub/load_firmware_stub.c ('k') | firmware/stub/utility_stub.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698