]> xenbits.xensource.com Git - seabios.git/commitdiff
tpm: Add "static" declaration to functions not used outside tcgbios.c
authorKevin O'Connor <kevin@koconnor.net>
Thu, 19 Nov 2015 21:23:39 +0000 (16:23 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 22 Nov 2015 15:31:26 +0000 (10:31 -0500)
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/tcgbios.c

index 5229b4eda33e89ba4e28d4ac6edffbcb46f8a1b5..341ab9da0555b3da09919cb027f2a8a10de73571 100644 (file)
@@ -1136,7 +1136,7 @@ tpm_calling_int19h(void)
 /*
  * Add event separators for PCRs 0 to 7; specs on 'Measuring Boot Events'
  */
-u32
+static u32
 tpm_add_event_separators(void)
 {
     u32 rc;
@@ -1205,7 +1205,7 @@ tpm_add_bootdevice(u32 bootcd, u32 bootdrv)
 /*
  * Add measurement to the log about option rom scan
  */
-u32
+static u32
 tpm_start_option_rom_scan(void)
 {
     if (!CONFIG_TCGBIOS)
@@ -1248,7 +1248,7 @@ tpm_option_rom(const void *addr, u32 len)
 }
 
 
-u32
+static u32
 tpm_smbios_measure(void)
 {
     if (!CONFIG_TCGBIOS)