2003-05-22 06:17:34

by David Gibson

[permalink] [raw]
Subject: [TRIVIAL] Squash warning in ppc64 addnote tool

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
[email protected] | solution which is simple, neat and
| wrong.
http://www.ozlabs.org/people/dgibson