add the disabling formatting coments and adjust the partial code manuly

This commit is contained in:
dota17 committed 2020-04-03 11:28:04 +08:00
1 parent a8cec740f0
commit c117d8a8a8
13 files changed
+345 -301

No files matched your search

+2
View File
@@ -9,6 +9,7 @@ static struct {
int errno_value;
const char *errno_str;
} errno_list[] = {
/* clang-format off */
#define STRINGIFY(x) #x
#define ENTRY(x) {x, &STRINGIFY(undef_ ## x)[6]}
ENTRY(EPERM),
@@ -52,6 +53,7 @@ static struct {
ENTRY(EAGAIN),
{ 0, (char *)0 }
};
/* clang-format on */
// Enabled during tests
int _json_c_strerror_enable = 0;