uml: get declaration of simple_strtoul

Include linux/kernel.h wherever simple_strtoul is used.  This kills a
compile warning in stderr_console.c and potential ones in the other files.

This also fixes a bunch of style violations in exitcode.c.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
这个提交包含在:
Jeff Dike
2007-06-08 13:46:54 -07:00
提交者 Linus Torvalds
父节点 49277b1c68
当前提交 e16f5350d4
修改 4 个文件,包含 20 行新增22 行删除

查看文件

@@ -3,6 +3,7 @@
* Licensed under the GPL
*/
#include "linux/kernel.h"
#include "linux/sched.h"
#include "linux/slab.h"
#include "linux/list.h"

查看文件

@@ -1,3 +1,4 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/console.h>

查看文件

@@ -20,6 +20,7 @@
#define MAJOR_NR UBD_MAJOR
#define UBD_SHIFT 4
#include "linux/kernel.h"
#include "linux/module.h"
#include "linux/blkdev.h"
#include "linux/hdreg.h"