Re: [PATCH][TRIVIAL] Linux 2.4.21pre5-ac3 - change make_config to void

From: Maciej Soltysiak (solt@dns.toxicfilms.tv)
Date: Wed Mar 12 2003 - 10:48:49 EST


> Linux 2.4.21pre5-ac3

scripts/mkconfigs.c:
make_configs is defined int, but the value is not used, and make_configs
does not return anything so it warns about: control reaching end of non
void function.

--- linux-2.4.20/scripts/mkconfigs.c~ 2003-03-12 16:13:42.000000000 +0100
+++ linux-2.4.20/scripts/mkconfigs.c 2003-03-12 16:34:46.000000000 +0100
@@ -130,7 +130,7 @@
         }
 }

-int make_configs (FILE *configfile, FILE *sourcefile)
+void make_configs (FILE *configfile, FILE *sourcefile)
 {
         make_intro (sourcefile);
         make_lines (configfile, sourcefile);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:31 EST