[TRIVIAL] Squash warning in ppc64 addnote tool

David Gibson (david@gibson.dropbear.id.au)
Thu, 22 May 2003 16:22:51 +1000


Anton, please apply. addnote in arch/ppc64/boot (a userspace tool,
not kernel code) uses exit() without including stdlib.h.

diff -urN for-linus-ppc64/arch/ppc64/boot/addnote.c linux-congo/arch/ppc64/boot/addnote.c
--- for-linus-ppc64/arch/ppc64/boot/addnote.c 2003-05-07 15:10:18.000000000 +1000
+++ linux-congo/arch/ppc64/boot/addnote.c 2003-05-22 16:04:07.000000000 +1000
@@ -14,6 +14,7 @@
* Usage: addnote zImage
*/
#include <stdio.h>
+#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>

-- 
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson
-
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/