Merge pull request #494 from tofurky/sdcc_4.6.0_warnings

Fix warnings seen on SDCC 4.6.0 due to missing const qualifiers
This commit is contained in:
René van Dorst authored and GitHub committed 2026-09-21 10:51:54 +02:00
commit f0efb84abb
22 files changed
+57 -57

No files matched your search

+3 -3
View File
@@ -39,12 +39,12 @@ __code enum sfp_quirk {
};
struct sfp_quirk_entry {
__code char *vendor; // Set vendor or model to 0 to act as wildcard
__code char *model;
__code const char *vendor; // Set vendor or model to 0 to act as wildcard
__code const char *model;
uint8_t quirks;
};
static __code struct sfp_quirk_entry sfp_quirk_table[] = {
static __code const struct sfp_quirk_entry sfp_quirk_table[] = {
{ "QSFPTEK", "QT-SFP+-T", SFP_QUIRK_DDM },
};