common/swaglog: remove trailing semicolon from macros (#29042)

old-commit-hash: 269ceca27a5fedc1eadd71503cf13450a061b382
This commit is contained in:
Dean Lee
2023-07-20 10:46:42 +08:00
committed by GitHub
parent e51ad90e92
commit 05b2a0b884
11 changed files with 14 additions and 15 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ int gpiochip_get_ro_value_fd(const char* consumer_label, int gpiochiop_id, int p
std::string gpiochip_path = "/dev/gpiochip" + std::to_string(gpiochiop_id);
int fd = open(gpiochip_path.c_str(), O_RDONLY);
if (fd < 0) {
LOGE("Error opening gpiochip0 fd")
LOGE("Error opening gpiochip0 fd");
return -1;
}
-1
View File
@@ -135,4 +135,3 @@ void cloudlog_te(int levelnum, const char* filename, int lineno, const char* fun
cloudlog_t_common(levelnum, filename, lineno, func, frame_id, fmt, args);
va_end(args);
}
+3 -3
View File
@@ -21,11 +21,11 @@ void cloudlog_te(int levelnum, const char* filename, int lineno, const char* fun
#define cloudlog(lvl, fmt, ...) cloudlog_e(lvl, __FILE__, __LINE__, \
__func__, \
fmt, ## __VA_ARGS__);
fmt, ## __VA_ARGS__)
#define cloudlog_t(lvl, ...) cloudlog_te(lvl, __FILE__, __LINE__, \
__func__, \
__VA_ARGS__);
__VA_ARGS__)
#define cloudlog_rl(burst, millis, lvl, fmt, ...) \