summaryrefslogtreecommitdiff
path: root/src/raptor_nfc.h
diff options
context:
space:
mode:
authorLauri Aalto <laalto@iki.fi>2007-11-12 11:56:51 +0000
committerLauri Aalto <laalto@iki.fi>2007-11-12 11:56:51 +0000
commit4cb55ed4afc1bdc1beafb01d0fac2744b7e98ff2 (patch)
treecf446af25dfb30d1910a3c8f7b2248087fb64165 /src/raptor_nfc.h
parent0cc171afad60796da6716628fc381ab0f5c8e7cf (diff)
downloadraptor-4cb55ed4afc1bdc1beafb01d0fac2744b7e98ff2.tar.gz
Make raptor nfc data const - eliminate ~53768 bytes of writable static.
Diffstat (limited to 'src/raptor_nfc.h')
-rw-r--r--src/raptor_nfc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/raptor_nfc.h b/src/raptor_nfc.h
index ebf663f9..e1f15a84 100644
--- a/src/raptor_nfc.h
+++ b/src/raptor_nfc.h
@@ -109,10 +109,10 @@ typedef enum {
#define RAPTOR_NFC_CLASSES_COUNT 352
-extern raptor_nfc_key_class raptor_nfc_classes[RAPTOR_NFC_CLASSES_COUNT];
+extern const raptor_nfc_key_class raptor_nfc_classes[RAPTOR_NFC_CLASSES_COUNT];
#define RAPTOR_NFC_RECOMBINERS_COUNT 2177
-extern raptor_nfc_base_follow raptor_nfc_recombiners[RAPTOR_NFC_RECOMBINERS_COUNT];
+extern const raptor_nfc_base_follow raptor_nfc_recombiners[RAPTOR_NFC_RECOMBINERS_COUNT];
#define RAPTOR_NFC_CODE_FLAGS_COUNT 34944
-extern u8 raptor_nfc_flags[RAPTOR_NFC_CODE_FLAGS_COUNT];
+extern const u8 raptor_nfc_flags[RAPTOR_NFC_CODE_FLAGS_COUNT];