summaryrefslogtreecommitdiff
path: root/stmhal/file.h
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2014-11-05 21:02:40 +0100
committerDamien George <damien.p.george@gmail.com>2014-11-05 22:52:51 +0000
commit0e0ae97975014b82f8d17c5268ee4d1d4a640d84 (patch)
tree0ce2dbbee7f6435a19dbae6cb4b01edfa7d666f3 /stmhal/file.h
parent1a5a6d14031b05b6487bd0b2f37958e2ceaace43 (diff)
stmhal: Declare variables extern in include files
Else we end up with several instances of the variable. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Diffstat (limited to 'stmhal/file.h')
-rw-r--r--stmhal/file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/file.h b/stmhal/file.h
index 7522a337d..f21ec6dab 100644
--- a/stmhal/file.h
+++ b/stmhal/file.h
@@ -24,6 +24,6 @@
* THE SOFTWARE.
*/
-const byte fresult_to_errno_table[20];
+extern const byte fresult_to_errno_table[20];
MP_DECLARE_CONST_FUN_OBJ(mp_builtin_open_obj);