Commit 42cf8096 authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Linus Torvalds

lib/sort.c: use simpler includes

sort.c doesn't use facilities from kernel.h, but does use some types
defined in linux/types.h.  Include the latter directly instead of relying
on some other header doing it.  Similarly, include linux/export.h directly
instead of through module.h.  This removes 80 lines from the dependency
file .sort.o.cmd.
Signed-off-by: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 85c5e27c
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* Jan 23 2005 Matt Mackall <mpm@selenic.com> * Jan 23 2005 Matt Mackall <mpm@selenic.com>
*/ */
#include <linux/kernel.h> #include <linux/types.h>
#include <linux/module.h> #include <linux/export.h>
#include <linux/sort.h> #include <linux/sort.h>
#include <linux/slab.h> #include <linux/slab.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment