[lkml]   [2003]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
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 | solution which is simple, neat and
| wrong.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 13:35    [W:0.108 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site