diff --git a/examples/configdata/configdata_main.c b/examples/configdata/configdata_main.c index 6d230b201..a90118f25 100644 --- a/examples/configdata/configdata_main.c +++ b/examples/configdata/configdata_main.c @@ -33,9 +33,9 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/fsutils/mkgpt/mkgpt.c b/fsutils/mkgpt/mkgpt.c index ac2744861..5b2c3d3f5 100644 --- a/fsutils/mkgpt/mkgpt.c +++ b/fsutils/mkgpt/mkgpt.c @@ -22,7 +22,6 @@ * Included Files ****************************************************************************/ -#include #include #include #include @@ -35,6 +34,8 @@ #include #include +#include + /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ diff --git a/system/zmodem/host/crc16.h b/system/zmodem/host/nuttx/crc16.h similarity index 91% rename from system/zmodem/host/crc16.h rename to system/zmodem/host/nuttx/crc16.h index be1f71151..6abfb7387 100644 --- a/system/zmodem/host/crc16.h +++ b/system/zmodem/host/nuttx/crc16.h @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/system/zmodem/host/crc16.h + * apps/system/zmodem/host/nuttx/crc16.h * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with @@ -18,8 +18,8 @@ * ****************************************************************************/ -#ifndef __APPS_SYSTEM_ZMODEM_HOST_CRC16_H -#define __APPS_SYSTEM_ZMODEM_HOST_CRC16_H +#ifndef __APPS_SYSTEM_ZMODEM_HOST_NUTTX_CRC16_H +#define __APPS_SYSTEM_ZMODEM_HOST_NUTTX_CRC16_H /**************************************************************************** * Included Files @@ -65,4 +65,4 @@ uint16_t crc16(const uint8_t *src, size_t len); } #endif -#endif /* __APPS_SYSTEM_ZMODEM_HOST_CRC16_H */ +#endif /* __APPS_SYSTEM_ZMODEM_HOST_NUTTX_CRC16_H */ diff --git a/system/zmodem/host/crc32.h b/system/zmodem/host/nuttx/crc32.h similarity index 91% rename from system/zmodem/host/crc32.h rename to system/zmodem/host/nuttx/crc32.h index 55f8349b7..fd4878607 100644 --- a/system/zmodem/host/crc32.h +++ b/system/zmodem/host/nuttx/crc32.h @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/system/zmodem/host/crc32.h + * apps/system/zmodem/host/nuttx/crc32.h * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with @@ -18,8 +18,8 @@ * ****************************************************************************/ -#ifndef __APPS_SYSTEM_ZMODEM_HOST_CRC32_H -#define __APPS_SYSTEM_ZMODEM_HOST_CRC32_H +#ifndef __APPS_SYSTEM_ZMODEM_HOST_NUTTX_CRC32_H +#define __APPS_SYSTEM_ZMODEM_HOST_NUTTX_CRC32_H /**************************************************************************** * Included Files @@ -65,4 +65,4 @@ uint32_t crc32(const uint8_t *src, size_t len); } #endif -#endif /* __APPS_SYSTEM_ZMODEM_HOST_CRC32_H */ +#endif /* __APPS_SYSTEM_ZMODEM_HOST_NUTTX_CRC32_H */ diff --git a/system/zmodem/zm_proto.c b/system/zmodem/zm_proto.c index f94f3c464..09131da6c 100644 --- a/system/zmodem/zm_proto.c +++ b/system/zmodem/zm_proto.c @@ -30,8 +30,9 @@ #include #include -#include -#include + +#include +#include #include "zm.h" diff --git a/system/zmodem/zm_send.c b/system/zmodem/zm_send.c index 39fb5b44a..32555c539 100644 --- a/system/zmodem/zm_send.c +++ b/system/zmodem/zm_send.c @@ -45,11 +45,12 @@ #include #include #include -#include -#include +#include +#include #include -#include "system/zmodem.h" + +#include #include "zm.h" diff --git a/system/zmodem/zm_state.c b/system/zmodem/zm_state.c index 8e094e8e3..5f8b6d92d 100644 --- a/system/zmodem/zm_state.c +++ b/system/zmodem/zm_state.c @@ -47,9 +47,9 @@ #include #include #include -#include -#include +#include +#include #include #include "zm.h" diff --git a/system/zmodem/zm_utils.c b/system/zmodem/zm_utils.c index 8ab2856e1..56489e9cb 100644 --- a/system/zmodem/zm_utils.c +++ b/system/zmodem/zm_utils.c @@ -30,7 +30,8 @@ #include #include #include -#include + +#include #include "zm.h" diff --git a/testing/fstest/fstest_main.c b/testing/fstest/fstest_main.c index e4716ce6c..8474ee5d1 100644 --- a/testing/fstest/fstest_main.c +++ b/testing/fstest/fstest_main.c @@ -37,10 +37,11 @@ #include #include #include -#include #include #include +#include + /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ diff --git a/testing/nxffs/nxffs_main.c b/testing/nxffs/nxffs_main.c index 43c877100..79389510b 100644 --- a/testing/nxffs/nxffs_main.c +++ b/testing/nxffs/nxffs_main.c @@ -35,9 +35,9 @@ #include #include #include -#include #include +#include #include #include diff --git a/testing/smart/smart_main.c b/testing/smart/smart_main.c index 4b72f313b..61dd3ec72 100644 --- a/testing/smart/smart_main.c +++ b/testing/smart/smart_main.c @@ -35,9 +35,9 @@ #include #include #include -#include #include +#include #include #include #include