Skip to contentSkip to conversation

Get rid of a warning

DISCUSSION Ilya A. Volynets-Evenbakh 2 participants 2 messages Jul 23, 2005 MIPS

lore
Share & tools
lore
#0 lore raw

void functions shouldn't return values ;-)

Signature · 18 lines
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com


Index: arch/mips/au1000/pb1000/init.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/au1000/pb1000/init.c,v
retrieving revision 1.10
diff -u -r1.10 init.c
--- arch/mips/au1000/pb1000/init.c      18 Nov 2003 01:17:46 -0000      1.10
+++ arch/mips/au1000/pb1000/init.c      23 Jul 2005 15:38:21 -0000
@@ -65,5 +65,4 @@
               memsize = simple_strtol(memsize_str, NULL, 0);
       }
       add_memory_region(0, memsize, BOOT_MEM_RAM);
-       return 0;
}
#1 lore raw
Quoted 1 line · Ilya A. Volynets-Evenbakh

void functions shouldn't return values ;-)

#include <stdlart.h>

And patches be sent in mailers that don't garble them.

Ralf