]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] ppc64: Squash warning in ppc64 addnote tool
authorAndrew Morton <akpm@digeo.com>
Sun, 25 May 2003 08:08:32 +0000 (01:08 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 25 May 2003 08:08:32 +0000 (01:08 -0700)
From: David Gibson <david@gibson.dropbear.id.au>

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

arch/ppc64/boot/addnote.c

index 34fa17f47c1d8d2ee2ef40f494706eb4d1d21351..66ff8103bf4d61fdea5454e42fbb73ef43115676 100644 (file)
@@ -14,6 +14,7 @@
  * Usage: addnote zImage
  */
 #include <stdio.h>
+#include <stdlib.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <string.h>