Add Include macro guards

This commit is contained in:
Clément Péron
2019-01-03 16:05:21 +01:00
parent f77d816e48
commit 6af656c5ce
4 changed files with 20 additions and 0 deletions

View File

@@ -15,6 +15,9 @@
* limitations under the License.
********************************************************************************/
#ifndef _ETHUSTREAM_H_
#define _ETHUSTREAM_H_
#include "os.h"
#include "cx.h"
#include <stdbool.h>
@@ -96,3 +99,5 @@ parserStatus_e processTx(txContext_t *context, uint8_t *buffer,
parserStatus_e continueTx(txContext_t *context);
void copyTxData(txContext_t *context, uint8_t *out, uint32_t length);
uint8_t readTxByte(txContext_t *context);
#endif /* _ETHUSTREAM_H_ */