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:
@@ -18,6 +18,8 @@
|
||||
#ifndef _CHAIN_CONFIG_H_
|
||||
#define _CHAIN_CONFIG_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "os.h"
|
||||
|
||||
typedef enum chain_kind_e {
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#ifndef _TOKENS_H_
|
||||
#define _TOKENS_H_
|
||||
|
||||
#include "os.h"
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct tokenDefinition_t {
|
||||
uint8_t address[20];
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
* limitations under the License.
|
||||
********************************************************************************/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "ethUstream.h"
|
||||
#include "ethUtils.h"
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -18,7 +18,8 @@
|
||||
#ifndef _ETHUTILS_H_
|
||||
#define _ETHUTILS_H_
|
||||
|
||||
#include "os.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#include "cx.h"
|
||||
|
||||
/**
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "uint256.h"
|
||||
|
||||
static const char HEXDIGITS[] = "0123456789abcdef";
|
||||
|
||||
Reference in New Issue
Block a user