From cd972535027a73ba70069051fe9038b6a8b5696a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 3 Dec 2010 12:30:59 +0000 Subject: - added GCC warning -Wstrict-prototypes - fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute. --- intern/guardedalloc/intern/mallocn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/guardedalloc') diff --git a/intern/guardedalloc/intern/mallocn.c b/intern/guardedalloc/intern/mallocn.c index 20912385f3b..d1e88748de4 100644 --- a/intern/guardedalloc/intern/mallocn.c +++ b/intern/guardedalloc/intern/mallocn.c @@ -177,13 +177,13 @@ static void print_error(const char *str, ...) if (error_callback) error_callback(buf); } -static void mem_lock_thread() +static void mem_lock_thread(void) { if (thread_lock_callback) thread_lock_callback(); } -static void mem_unlock_thread() +static void mem_unlock_thread(void) { if (thread_unlock_callback) thread_unlock_callback(); -- cgit v1.2.3