Alias sys_stime to sys_time

Since parsers for stime and time syscalls are identical,
replace sys_stime with an alias to sys_time.

* linux/dummy.h (sys_stime): Alias to sys_time.
* linux/syscall.h (sys_stime): Remove.
* time.c (sys_stime): Remove.
This commit is contained in:
Дмитрий Левин 2014-12-02 20:47:30 +00:00
parent 6b82ba5b7f
commit 8238590c1d
3 changed files with 1 additions and 10 deletions

View File

@ -83,6 +83,7 @@
#define sys_setgid sys_setuid
#define sys_setregid sys_setreuid
#define sys_setresgid sys_setresuid
#define sys_stime sys_time
#define sys_swapoff sys_chdir
#define sys_symlink sys_link
#define sys_syncfs sys_close

View File

@ -275,7 +275,6 @@ int sys_stat();
int sys_stat64();
int sys_statfs();
int sys_statfs64();
int sys_stime();
int sys_swapon();
int sys_symlinkat();
int sys_sync_file_range();

9
time.c
View File

@ -167,15 +167,6 @@ sys_time(struct tcb *tcp)
return 0;
}
int
sys_stime(struct tcb *tcp)
{
if (exiting(tcp)) {
printnum(tcp, tcp->u_arg[0], "%ld");
}
return 0;
}
int
sys_gettimeofday(struct tcb *tcp)
{