Unify the include guards accross all header files

This commit is contained in:
Alexandre Paillier
2022-03-07 14:21:32 +01:00
parent 89070cd2be
commit c548aba364
27 changed files with 97 additions and 38 deletions

View File

@@ -1,3 +1,8 @@
#ifndef _GET_ETH2_PUB_KEY_H_
#define _GET_ETH2_PUB_KEY_H_
#include "shared_context.h"
uint32_t set_result_get_eth2_publicKey(void);
#endif // _GET_ETH2_PUB_KEY_H_

View File

@@ -1,3 +1,8 @@
#ifndef _GET_PUB_KEY_H_
#define _GET_PUB_KEY_H_
#include "shared_context.h"
uint32_t set_result_get_publicKey(void);
#endif // _GET_PUB_KEY_H_

View File

@@ -1,3 +1,6 @@
#ifndef _SET_WITHDRAWAL_INDEX_H_
#define _SET_WITHDRAWAL_INDEX_H_
#include "stdint.h"
void handleSetEth2WithdrawalIndex(uint8_t p1,
@@ -5,4 +8,6 @@ void handleSetEth2WithdrawalIndex(uint8_t p1,
uint8_t *dataBuffer,
uint16_t dataLength,
unsigned int *flags,
unsigned int *tx);
unsigned int *tx);
#endif // _SET_WITHDRAWAL_INDEX_H_

View File

@@ -1,3 +1,6 @@
#ifndef _SIGN_TX_H_
#define _SIGN_TX_H_
#include "shared_context.h"
typedef enum {
@@ -12,3 +15,5 @@ void finalizeParsing(bool direct);
void prepareFeeDisplay();
void prepareNetworkDisplay();
void ux_approve_tx(bool fromPlugin);
#endif // _SIGN_TX_H_

View File

@@ -1,5 +1,8 @@
#pragma once
#ifndef _UI_PLUGIN_H_
#define _UI_PLUGIN_H_
void plugin_ui_get_id();
void plugin_ui_get_item();
void display_next_plugin_item(bool entering);
void display_next_plugin_item(bool entering);
#endif // _UI_PLUGIN_H_

View File

@@ -1,3 +1,8 @@
#ifndef _STARK_GET_PUB_KEY_H_
#define _STARK_GET_PUB_KEY_H_
#include "shared_context.h"
uint32_t set_result_get_stark_publicKey(void);
#endif // _STARK_GET_PUB_KEY_H_