diff --git a/src/endian_internal.c b/src/endian_internal.c index ec040c7..fc7301a 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 de885a0..0aec356 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 de617e6..c92be59 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;