diff --git a/src/endian_internal.c b/src/endian_internal.c index ec040c78c995da66d262ac173f4231b296a969b0..fc7301aeb388f0e820fcd97ab18aa714e063de99 100755 --- a/src/endian_internal.c +++ b/src/endian_internal.c @@ -22,7 +22,7 @@ int32_t CheckEndian(void); -int32_t CheckEndian() +int32_t CheckEndian(void) { union { int32_t i; diff --git a/src/main.c b/src/main.c index de885a02ab2f45db7bae18d11bf2c855b8742911..0aec356a8dc4f31b3e3a02c06e891a1eada7e7a0 100755 --- a/src/main.c +++ b/src/main.c @@ -13,13 +13,13 @@ * limitations under the License. */ -#include "syscap_tool.h" #include #include #include #include #include #include +#include "syscap_tool.h" extern char *optarg; diff --git a/test/syscap_tool_test.c b/test/syscap_tool_test.c index de617e6f20799aeb3bca1129249357db37e8184c..c92be593ceee876b213f87a2fb16886649caaa15 100755 --- a/test/syscap_tool_test.c +++ b/test/syscap_tool_test.c @@ -13,7 +13,6 @@ * limitations under the License. */ -#include "syscap_tool.h" #include #include #include @@ -23,6 +22,7 @@ #include #include #include +#include "syscap_tool.h" extern char *optarg;