Minimize includes in header files to what they depend on
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#ifdef HAVE_ETH2
|
||||
|
||||
#include <string.h>
|
||||
#include "shared_context.h"
|
||||
|
||||
uint32_t set_result_get_eth2_publicKey() {
|
||||
@@ -9,4 +10,4 @@ uint32_t set_result_get_eth2_publicKey() {
|
||||
return tx;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // HAVE_ETH2
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include <string.h>
|
||||
#include "shared_context.h"
|
||||
|
||||
uint32_t set_result_get_publicKey() {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "os_io_seproxyhal.h"
|
||||
#include "shared_context.h"
|
||||
#include "ui_callbacks.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "os_io_seproxyhal.h"
|
||||
#include "shared_context.h"
|
||||
#include "ui_callbacks.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "os_io_seproxyhal.h"
|
||||
#include "shared_context.h"
|
||||
#include "utils.h"
|
||||
#include "ui_callbacks.h"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#ifdef HAVE_STARKWARE
|
||||
|
||||
#include <string.h>
|
||||
#include "shared_context.h"
|
||||
#include "feature_stark_getPublicKey.h"
|
||||
|
||||
@@ -10,4 +11,4 @@ uint32_t set_result_get_stark_publicKey() {
|
||||
return tx;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // HAVE_STARKWARE
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#ifdef HAVE_STARKWARE
|
||||
|
||||
#include "os_io_seproxyhal.h"
|
||||
#include "shared_context.h"
|
||||
#include "stark_utils.h"
|
||||
#include "ui_callbacks.h"
|
||||
@@ -32,4 +33,4 @@ unsigned int io_seproxyhal_touch_stark_ok(__attribute__((unused)) const bagl_ele
|
||||
return 0; // do not redraw the widget
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // HAVE_STARKWARE
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#ifdef HAVE_STARKWARE
|
||||
|
||||
#include "os_io_seproxyhal.h"
|
||||
#include "shared_context.h"
|
||||
#include "stark_utils.h"
|
||||
#include "ui_callbacks.h"
|
||||
@@ -38,4 +39,4 @@ unsigned int io_seproxyhal_touch_stark_unsafe_sign_ok(__attribute__((unused))
|
||||
return 0; // do not redraw the widget
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // HAVE_STARKWARE
|
||||
|
||||
Reference in New Issue
Block a user