mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-28 04:40:02 -04:00
refoctor: refoctor the code to reduce function complexity.
Signed-off-by: yudechen <chenyude@huawei.com> Change-Id: I9abd347e414395c44300a8e927332f7101c05c38
This commit is contained in:
+1
-2
@@ -18,7 +18,6 @@
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <getopt.h>
|
||||
#include <limits.h>
|
||||
#include "securec.h"
|
||||
#include "syscap_tool.h"
|
||||
@@ -29,7 +28,7 @@
|
||||
printf("ERROR: [%s: %d] -> ", __FILE__, __LINE__); \
|
||||
printf(__VA_ARGS__); \
|
||||
} while (0)
|
||||
#define SYSCAP_VERSION "2.0.0"
|
||||
#define SYSCAP_VERSION "2.0.1"
|
||||
#define OUTPUT_VERSION_LEN 200
|
||||
#define ENCODE 0
|
||||
#define DECODE 1
|
||||
|
||||
Reference in New Issue
Block a user