Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Get rid of a warning
@ 2005-07-23 21:49 Ilya A. Volynets-Evenbakh
  2005-07-23 22:34 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Ilya A. Volynets-Evenbakh @ 2005-07-23 21:49 UTC (permalink / raw)
  To: Ralf Baechle, linux-mips

void functions shouldn't return values ;-)

-- 
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;
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Get rid of a warning
  2005-07-23 21:49 Get rid of a warning Ilya A. Volynets-Evenbakh
@ 2005-07-23 22:34 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2005-07-23 22:34 UTC (permalink / raw)
  To: Ilya A. Volynets-Evenbakh; +Cc: linux-mips

On Sat, Jul 23, 2005 at 02:49:03PM -0700, Ilya A. Volynets-Evenbakh wrote:

> void functions shouldn't return values ;-)

#include <stdlart.h>

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

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-07-23 22:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-23 21:49 Get rid of a warning Ilya A. Volynets-Evenbakh
2005-07-23 22:34 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox