lkml.org 
[lkml]   [2003]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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
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/
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.019 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site