!5950 fix general code problem

Merge pull request !5950 from 杨辉庆/master
This commit is contained in:
openharmony_ci 2024-05-03 12:51:13 +00:00 committed by Gitee
commit 221a412dd2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -22,10 +22,10 @@
extern "C" {
#endif
#define DISC_EVENT(scene, stage, extra) DiscEventInner(scene, stage, __FUNCTION__, __LINE__, &extra)
#define DISC_ALARM(scene, type, extra) DiscAlarmInner(scene, type, __FUNCTION__, __LINE__, &extra)
#define DISC_STATS(scene, extra) DiscStatsInner(scene, __FUNCTION__, __LINE__, &extra)
#define DISC_AUDIT(scene, extra) DiscAuditInner(scene, __FUNCTION__, __LINE__, &extra)
#define DISC_EVENT(scene, stage, extra) DiscEventInner(scene, stage, __FUNCTION__, __LINE__, &(extra))
#define DISC_ALARM(scene, type, extra) DiscAlarmInner(scene, type, __FUNCTION__, __LINE__, &(extra))
#define DISC_STATS(scene, extra) DiscStatsInner(scene, __FUNCTION__, __LINE__, &(extra))
#define DISC_AUDIT(scene, extra) DiscAuditInner(scene, __FUNCTION__, __LINE__, &(extra))
/* For inner use only */
void DiscEventInner(int32_t scene, int32_t stage, const char *func, int32_t line, DiscEventExtra *extra);