Use correct include headers

Some headers are overkilled, and the order should be

/* LibC */
include <stdxxx.h>

/* Framework */
include <os.h>

/* Local */
include "EthUstream.h"
This commit is contained in:
Clément Péron
2019-01-04 10:31:57 +01:00
parent 662c902a5c
commit f75adced1d
8 changed files with 19 additions and 6 deletions

View File

@@ -18,6 +18,8 @@
#ifndef _CHAIN_CONFIG_H_
#define _CHAIN_CONFIG_H_
#include <stdint.h>
#include "os.h"
typedef enum chain_kind_e {

View File

@@ -15,9 +15,12 @@
* limitations under the License.
********************************************************************************/
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "os.h"
#include "cx.h"
#include "stdbool.h"
#include "ethUstream.h"
#include "ethUtils.h"
#include "uint256.h"
@@ -25,7 +28,6 @@
#include "chainConfig.h"
#include "os_io_seproxyhal.h"
#include "string.h"
#include "glyphs.h"

View File

@@ -18,7 +18,7 @@
#ifndef _TOKENS_H_
#define _TOKENS_H_
#include "os.h"
#include <stdint.h>
typedef struct tokenDefinition_t {
uint8_t address[20];

View File

@@ -15,6 +15,8 @@
* limitations under the License.
********************************************************************************/
#include <stdint.h>
#include "ethUstream.h"
#include "ethUtils.h"

View File

@@ -18,9 +18,11 @@
#ifndef _ETHUSTREAM_H_
#define _ETHUSTREAM_H_
#include <stdbool.h>
#include <stdint.h>
#include "os.h"
#include "cx.h"
#include <stdbool.h>
struct txContext_t;

View File

@@ -23,9 +23,12 @@
* @date 8th of March 2016
*/
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "os.h"
#include "cx.h"
#include <stdbool.h>
#include "ethUtils.h"
#include "chainConfig.h"

View File

@@ -18,7 +18,8 @@
#ifndef _ETHUTILS_H_
#define _ETHUTILS_H_
#include "os.h"
#include <stdint.h>
#include "cx.h"
/**

View File

@@ -19,6 +19,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "uint256.h"
static const char HEXDIGITS[] = "0123456789abcdef";