Skip to content

Commit

Permalink
LIB: Replace inappropriate include of <linux/bug.h>
Browse files Browse the repository at this point in the history
Replace an irrelevant include of bug.h with the more appropriate
includes of slab.h and module.h.

it's not as if the original inclusion is an error, it's simply not
related to the contents of that source file, while the other two are.

compile-tested on i386.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
  • Loading branch information
Robert P. J. Day authored and Adrian Bunk committed Oct 19, 2007
1 parent 5c5f4fe commit 5a56db1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/argv_split.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

#include <linux/kernel.h>
#include <linux/ctype.h>
#include <linux/bug.h>
#include <linux/slab.h>
#include <linux/module.h>

static const char *skip_sep(const char *cp)
{
Expand Down

0 comments on commit 5a56db1

Please sign in to comment.