now thats a lot of damage!
[vg.git] / src / vg / vg_log.h
index 28713318104dc3917ba590beb838e04065e3afdf..b430a31d352c6c0d91dd14e66a82e5886f2eaa6a 100644 (file)
@@ -47,7 +47,7 @@ void vg_console_append_to_log( const char *str )
       vg_log.buffer_line_current = 0;
 }
 
-static void vg_log_write( FILE *file, const char *prefix, 
+VG_STATIC void vg_log_write( FILE *file, const char *prefix, 
       const char *fmt, va_list args )
 {
    vg_mutex_lock( &log_print_mutex );
@@ -72,13 +72,13 @@ static void vg_log_write( FILE *file, const char *prefix,
    vg_mutex_unlock( &log_print_mutex );
 }
 
-static void vg_log_init(void)
+VG_STATIC void vg_log_init(void)
 {
    vg_mutex_init( &log_print_mutex );
 }
 
 #define VG_LOGX( NAME, PIPE, PFX )           \
-static void NAME(const char *fmt, ...)       \
+VG_STATIC void NAME(const char *fmt, ...)       \
 {                                            \
    va_list args;                             \
    va_start( args, fmt );                    \