* [TRIVIAL] Squash warning in ppc64 addnote tool
@ 2003-05-22 6:22 David Gibson
0 siblings, 0 replies; only message in thread
From: David Gibson @ 2003-05-22 6:22 UTC (permalink / raw)
To: Anton Blanchard; +Cc: trivial, linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-22 6:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-22 6:22 [TRIVIAL] Squash warning in ppc64 addnote tool David Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®