Chameleon

View Warnings.diff.txt

1diff --git a/i386/libsaio/fake_efi.c b/i386/libsaio/fake_efi.c
2index 94a862d..c9c68ed 100644
3--- a/i386/libsaio/fake_efi.c
4+++ b/i386/libsaio/fake_efi.c
5@@ -437,8 +437,8 @@ EFI_GUID gEfiAcpi20TableGuid = EFI_ACPI_20_TABLE_GUID;
6 static const char FIRMWARE_REVISION_PROP[] = "firmware-revision";
7 static const char FIRMWARE_ABI_PROP[] = "firmware-abi";
8 static const char FIRMWARE_VENDOR_PROP[] = "firmware-vendor";
9-static const char FIRMWARE_ABI_32_PROP_VALUE[] = "EFI32";
10-static const char FIRMWARE_ABI_64_PROP_VALUE[] = "EFI64";
11+static __attribute__((used)) const char FIRMWARE_ABI_32_PROP_VALUE[] = "EFI32";
12+static __attribute__((used)) const char FIRMWARE_ABI_64_PROP_VALUE[] = "EFI64";
13 static const char EFI_MODE_PROP[] = "efi-mode"; //Bungo
14 static const char SYSTEM_ID_PROP[] = "system-id";
15 static const char SYSTEM_SERIAL_PROP[] = "SystemSerialNumber";
16diff --git a/i386/libsaio/stringTable.c b/i386/libsaio/stringTable.c
17index b8e017c..22c6f76 100644
18--- a/i386/libsaio/stringTable.c
19+++ b/i386/libsaio/stringTable.c
20@@ -36,6 +36,8 @@ extern char *LoadableFamilies;
21
22 bool sysConfigValid;
23
24+#if UNUSED
25+
26 /*
27 * Compare a string to a key with quoted characters
28 */
29@@ -70,8 +72,6 @@ keyncmp(const char *str, const char *key, int n)
30 return 0;
31 }
32
33-#if UNUSED
34-
35 static void eatThru(char val, const char **table_p)
36 {
37 register const char *table = *table_p;
38diff --git a/i386/libsaio/vbe.c b/i386/libsaio/vbe.c
39index 97e0f5d..f417617 100644
40--- a/i386/libsaio/vbe.c
41+++ b/i386/libsaio/vbe.c
42@@ -33,6 +33,8 @@
43
44 static biosBuf_t bb;
45
46+#if UNUSED
47+
48 //==============================================================================
49
50 static inline void
51@@ -67,6 +69,8 @@ rmwi(int port, int index, int clear, int set)
52 outb (port + 1, (inb (port + 1) & ~clear) | set);
53 }
54
55+#endif /* UNUSED */
56+
57 //==============================================================================
58
59 int getVBEInfo( void * infoBlock )
60diff --git a/i386/modules/AcpiCodec/acpi_codec.c b/i386/modules/AcpiCodec/acpi_codec.c
61index 6617a53..f9b1009 100755
62--- a/i386/modules/AcpiCodec/acpi_codec.c
63+++ b/i386/modules/AcpiCodec/acpi_codec.c
64@@ -197,7 +197,9 @@ return entry;\
65 }
66
67 __RES(pss, long)
68+#if UNUSED
69 __RES(cst, int)
70+#endif /* UNUSED */
71
72 static ACPI_TABLE_HEADER * get_new_table_in_list(U32 *new_table_list, U32 Signature, U8 *retIndex )
73 {
74

Archive Download this file

Attachment to issue 373

Created: 9 years 6 months ago by zenith432