Commit 2bee2349 authored by Lionel Gauthier's avatar Lionel Gauthier

Sebastian Held patches15/0016-const-correctness.patch

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7318 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 1dd36064
...@@ -461,7 +461,7 @@ int logInit (void) ...@@ -461,7 +461,7 @@ int logInit (void)
//log record: add to a list //log record: add to a list
void logRecord(const char *file, const char *func, int line, int comp, void logRecord(const char *file, const char *func, int line, int comp,
int level, char *format, ...) int level, const char *format, ...)
{ {
va_list args; va_list args;
LOG_params log_params; LOG_params log_params;
...@@ -676,7 +676,7 @@ void *log_thread_function(void *list) ...@@ -676,7 +676,7 @@ void *log_thread_function(void *list)
//log record, format, and print: executed in the main thread (mt) //log record, format, and print: executed in the main thread (mt)
void logRecord_mt(const char *file, const char *func, int line, int comp, 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; int len = 0;
va_list args; va_list args;
......
...@@ -68,8 +68,8 @@ extern "C" { ...@@ -68,8 +68,8 @@ extern "C" {
//public_log_if( log_t *g_log;) //public_log_if( log_t *g_log;)
public_log_if( int logInit (void);) 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_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, 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_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( int set_log(int component, int level, int interval);)
public_log_if( void set_glog(int level, int verbosity);) public_log_if( void set_glog(int level, int verbosity);)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment