summaryrefslogtreecommitdiffstats
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2006-09-30 20:52:18 +0200
committerJens Axboe <axboe@kernel.dk>2006-09-30 20:52:18 +0200
commit07f3f05c1e3052b8656129b2a5aca9f888241a34 (patch)
tree3338b004d518a0d2189efdc3fb88e94e1c02c0ce /kernel/compat.c
parent65e6f5bc8149165efb9d7bdbd142bb837d5edfeb (diff)
downloadlinux-07f3f05c1e3052b8656129b2a5aca9f888241a34.tar.bz2
[PATCH] BLOCK: Move extern declarations out of fs/*.c into header files [try #6]
Create a new header file, fs/internal.h, for common definitions local to the sources in the fs/ directory. Move extern definitions that should be in header files from fs/*.c to fs/internal.h or other main header files where they span directories. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/compat.c')
-rw-r--r--kernel/compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/compat.c b/kernel/compat.c
index 75573e5d27b0..b4fbd838cd77 100644
--- a/kernel/compat.c
+++ b/kernel/compat.c
@@ -26,6 +26,8 @@
#include <asm/uaccess.h>
+extern void sigset_from_compat(sigset_t *set, compat_sigset_t *compat);
+
int get_compat_timespec(struct timespec *ts, const struct compat_timespec __user *cts)
{
return (!access_ok(VERIFY_READ, cts, sizeof(*cts)) ||