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-16 11:10:35 +01:00
parent 662c902a5c
commit f75adced1d
8 changed files with 19 additions and 6 deletions
+2
View File
@@ -15,6 +15,8 @@
* limitations under the License.
********************************************************************************/
#include <stdint.h>
#include "ethUstream.h"
#include "ethUtils.h"
+3 -1
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;
+4 -1
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"
+2 -1
View File
@@ -18,7 +18,8 @@
#ifndef _ETHUTILS_H_
#define _ETHUTILS_H_
#include "os.h"
#include <stdint.h>
#include "cx.h"
/**
+1
View File
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "uint256.h"
static const char HEXDIGITS[] = "0123456789abcdef";