mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[dos] init_os is init_osdep for other operating systems
This commit is contained in:
parent
a1933e8d21
commit
c3a3225699
@ -361,10 +361,6 @@ main(int argc, char *argv[])
|
||||
ac = argc;
|
||||
av = (char **) argv;
|
||||
|
||||
#ifdef CONFIG_OS_DOS
|
||||
init_os();
|
||||
#endif
|
||||
|
||||
select_loop(init);
|
||||
terminate_all_subsystems();
|
||||
|
||||
|
@ -1014,7 +1014,7 @@ void os_seed_random(unsigned char **pool, int *pool_size)
|
||||
*pool_size = RANDOM_POOL_SIZE;
|
||||
}
|
||||
|
||||
void init_os(void)
|
||||
void init_osdep(void)
|
||||
{
|
||||
int s, rs;
|
||||
struct sigaction sa;
|
||||
|
@ -22,7 +22,6 @@ int dos_write(int fd, const void *buf, size_t size);
|
||||
int dos_pipe(int fd[2]);
|
||||
int dos_close(int fd);
|
||||
int dos_select(int n, fd_set *rs, fd_set *ws, fd_set *es, struct timeval *t, int from_main_loop);
|
||||
void init_os(void);
|
||||
void save_terminal(void);
|
||||
void restore_terminal(void);
|
||||
int dos_setraw(int ctl, int save);
|
||||
|
@ -904,7 +904,7 @@ get_input_handle(void)
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_OS_WIN32
|
||||
#if !defined(CONFIG_OS_WIN32) && !defined(CONFIG_OS_DOS)
|
||||
|
||||
void
|
||||
init_osdep(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user