diff --git a/openair2/UTIL/LOG/log.c b/openair2/UTIL/LOG/log.c index dc4a9284f6f3bbb7aa784180dab970e093b2aa8e..429dce8587078c9e64c8e37405a35deb0361624f 100755 --- a/openair2/UTIL/LOG/log.c +++ b/openair2/UTIL/LOG/log.c @@ -461,7 +461,7 @@ int logInit (void) //log record: add to a list void logRecord(const char *file, const char *func, int line, int comp, - int level, char *format, ...) + int level, const char *format, ...) { va_list args; LOG_params log_params; @@ -676,7 +676,7 @@ void *log_thread_function(void *list) //log record, format, and print: executed in the main thread (mt) void logRecord_mt(const char *file, const char *func, int line, int comp, - int level, char *format, ...) + int level, const char *format, ...) { int len = 0; va_list args; diff --git a/openair2/UTIL/LOG/log_if.h b/openair2/UTIL/LOG/log_if.h index 6f1c02be6f0723600f5640a975f6d30e54f452c0..b286d027aac3e531c5da47a80547436d8a0bcb1a 100644 --- a/openair2/UTIL/LOG/log_if.h +++ b/openair2/UTIL/LOG/log_if.h @@ -68,8 +68,8 @@ extern "C" { //public_log_if( log_t *g_log;) public_log_if( int logInit (void);) -public_log_if( void logRecord_mt(const char *file, const char *func, int line,int comp, int level, char *format, ...);) -public_log_if( void logRecord(const char *file, const char *func, int line,int comp, int level, char *format, ...);) +public_log_if( void logRecord_mt(const char *file, const char *func, int line,int comp, int level, const char *format, ...);) +public_log_if( void logRecord(const char *file, const char *func, int line,int comp, int level, const char *format, ...);) public_log_if( int set_comp_log(int component, int level, int verbosity, int interval);) public_log_if( int set_log(int component, int level, int interval);) public_log_if( void set_glog(int level, int verbosity);)