mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 02:11:19 -04:00
消除代码静态检查。 Signed-off-by: yudechen <chenyude@huawei.com> Change-Id: I00dc53d865ba0f265df8d4f3121cce8c11e1d5e6
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
int32_t CheckEndian(void);
|
||||
|
||||
int32_t CheckEndian()
|
||||
int32_t CheckEndian(void)
|
||||
{
|
||||
union {
|
||||
int32_t i;
|
||||
|
||||
+1
-1
@@ -13,13 +13,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "syscap_tool.h"
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <getopt.h>
|
||||
#include <limits.h>
|
||||
#include "syscap_tool.h"
|
||||
|
||||
extern char *optarg;
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "syscap_tool.h"
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
@@ -23,6 +22,7 @@
|
||||
#include <limits.h>
|
||||
#include <sys/types.h>
|
||||
#include <wait.h>
|
||||
#include "syscap_tool.h"
|
||||
|
||||
extern char *optarg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user