aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 20:07:09 +0100
committerRichard Weinberger <richard@nod.at>2011-11-02 14:15:07 +0100
commit429172ccf058e67974dd1ab3d8b82075383efe84 (patch)
tree0c3a781d573b2d5f224c0ffe00449cec39e01699 /arch/um/include
parent549e78db9438374cb6a58201cc5f2194b222688f (diff)
downloadkernel_goldelico_gta04-429172ccf058e67974dd1ab3d8b82075383efe84.zip
kernel_goldelico_gta04-429172ccf058e67974dd1ab3d8b82075383efe84.tar.gz
kernel_goldelico_gta04-429172ccf058e67974dd1ab3d8b82075383efe84.tar.bz2
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>
Diffstat (limited to 'arch/um/include')
-rw-r--r--arch/um/include/shared/kern.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/um/include/shared/kern.h b/arch/um/include/shared/kern.h
index 4ce3fc6..6cd0124 100644
--- a/arch/um/include/shared/kern.h
+++ b/arch/um/include/shared/kern.h
@@ -13,28 +13,10 @@
* includes.
*/
-extern int errno;
-
-extern int clone(int (*proc)(void *), void *sp, int flags, void *data);
-extern int sleep(int);
extern int printf(const char *fmt, ...);
-extern char *strerror(int errnum);
-extern char *ptsname(int __fd);
-extern int munmap(void *, int);
extern void *sbrk(int increment);
-extern void *malloc(int size);
-extern void perror(char *err);
-extern int kill(int pid, int sig);
-extern int getuid(void);
-extern int getgid(void);
extern int pause(void);
-extern int write(int, const void *, int);
extern void exit(int);
-extern int close(int);
-extern int read(unsigned int, char *, int);
-extern int pipe(int *);
-extern int sched_yield(void);
-extern int ptrace(int op, int pid, long addr, long data);
#endif