compiler warning cleanup

This commit is contained in:
Stephen Swaney
2008-03-15 14:41:47 +00:00
parent 4f553a59f7
commit bb48a75c37
3 changed files with 4 additions and 4 deletions

View File

@@ -114,8 +114,8 @@ static const char *check_memlist(MemHead *memh);
volatile int totblock= 0;
volatile unsigned long mem_in_use= 0, mmap_in_use= 0;
volatile static struct localListBase _membase;
volatile static struct localListBase *membase = &_membase;
static volatile struct localListBase _membase;
static volatile struct localListBase *membase = &_membase;
static void (*error_callback)(char *) = NULL;
static void (*thread_lock_callback)(void) = NULL;
static void (*thread_unlock_callback)(void) = NULL;

View File

@@ -63,7 +63,7 @@ static float avgLogLum(CompBuf *src, float* auto_key, float* Lav, float* Cav)
}
void static tonemap(NodeTonemap* ntm, CompBuf* dst, CompBuf* src)
static void tonemap(NodeTonemap* ntm, CompBuf* dst, CompBuf* src)
{
int x, y;
float dr, dg, db, al, igm = (ntm->gamma==0.f) ? 1 : (1.f / ntm->gamma);

View File

@@ -2686,7 +2686,7 @@ static void load_buts_vfont(char *name)
static void set_unicode_text_fs(char *file)
{
if (file > 0) paste_unicodeText(file);
if (file) paste_unicodeText(file);
}
void do_fontbuts(unsigned short event)