Sebastian Held patches15/0016-const-correctness.patch
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7318 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);)
|
||||
|
||||
Reference in New Issue
Block a user