now thats a lot of damage!
[vg.git] / src / vg / vg_log.h
index 54ee188c3df95ffdb6f388ca2d6a50ae68c62219..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 );
@@ -55,7 +55,7 @@ static void vg_log_write( FILE *file, const char *prefix,
        char buffer[512];
        int i, j;
        
-       for( i = 0; i < vg_list_size( buffer ); i ++ )
+       for( i=0; i<vg_list_size( buffer ); i ++ )
        {
                if( prefix[i] )
                        buffer[i] = prefix[i];
@@ -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 );                    \