Skip to contentSkip to conversation

Squash warning in ppc64 addnote tool

TRIVIAL David Gibson 1 participant 1 message May 22, 2003

lore
Share & tools
lore
#0 lore raw

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

arch/ppc64/boot/addnote.c +1 -0
diff -urN for-linus-ppc64/arch/ppc64/boot/addnote.c linux-congo/arch/ppc64/boot/addnote.c
@@ -14,6 +14,7 @@
  * Usage: addnote zImage
  */
 #include <stdio.h>
+#include <stdlib.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <string.h>
Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson