diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 15:07:09 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 09:15:07 -0400 |
commit | 429172ccf058e67974dd1ab3d8b82075383efe84 (patch) | |
tree | 0c3a781d573b2d5f224c0ffe00449cec39e01699 | |
parent | 549e78db9438374cb6a58201cc5f2194b222688f (diff) |
um: trim kern.h
most of the functions in there are not used in anything that ends up
including that header...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r-- | arch/um/include/shared/kern.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/um/include/shared/kern.h b/arch/um/include/shared/kern.h index 4ce3fc650e57..6cd01240bbf0 100644 --- a/arch/um/include/shared/kern.h +++ b/arch/um/include/shared/kern.h | |||
@@ -13,28 +13,10 @@ | |||
13 | * includes. | 13 | * includes. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | extern int errno; | ||
17 | |||
18 | extern int clone(int (*proc)(void *), void *sp, int flags, void *data); | ||
19 | extern int sleep(int); | ||
20 | extern int printf(const char *fmt, ...); | 16 | extern int printf(const char *fmt, ...); |
21 | extern char *strerror(int errnum); | ||
22 | extern char *ptsname(int __fd); | ||
23 | extern int munmap(void *, int); | ||
24 | extern void *sbrk(int increment); | 17 | extern void *sbrk(int increment); |
25 | extern void *malloc(int size); | ||
26 | extern void perror(char *err); | ||
27 | extern int kill(int pid, int sig); | ||
28 | extern int getuid(void); | ||
29 | extern int getgid(void); | ||
30 | extern int pause(void); | 18 | extern int pause(void); |
31 | extern int write(int, const void *, int); | ||
32 | extern void exit(int); | 19 | extern void exit(int); |
33 | extern int close(int); | ||
34 | extern int read(unsigned int, char *, int); | ||
35 | extern int pipe(int *); | ||
36 | extern int sched_yield(void); | ||
37 | extern int ptrace(int op, int pid, long addr, long data); | ||
38 | 20 | ||
39 | #endif | 21 | #endif |
40 | 22 | ||