use gcc attrubutes to warn on unused return values and arguments which shouldnt be...
[blender.git] / source / blender / blenkernel / intern / lamp.c
index 20e3edc704422e784cf3badf0fb62a8714d530ab..4782d09a7c894382ab0231c0a7e293b2595db217 100644 (file)
@@ -51,7 +51,7 @@
 #include "BKE_main.h"
 #include "BKE_node.h"
 
-void *BKE_lamp_add(const char *name)
+Lamp *BKE_lamp_add(const char *name)
 {
        Lamp *la;