uml: remove os_* usage from userspace files
This patch fixes some userspace files which were calling libc through the os_* wrappers. It turns out that there was only one user of os_new_tty_pgrp, so it can be deleted. There are also some style and whitespace fixes in here. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
28078e8f97
commit
8ca842c4b5
@@ -132,7 +132,6 @@ extern void os_print_error(int error, const char* str);
|
||||
extern int os_get_exec_close(int fd, int *close_on_exec);
|
||||
extern int os_set_exec_close(int fd, int close_on_exec);
|
||||
extern int os_ioctl_generic(int fd, unsigned int cmd, unsigned long arg);
|
||||
extern int os_new_tty_pgrp(int fd, int pid);
|
||||
extern int os_get_ifname(int fd, char *namebuf);
|
||||
extern int os_set_slip(int fd);
|
||||
extern int os_set_owner(int fd, int pid);
|
||||
|
Reference in New Issue
Block a user