Skip to content

Commit fbec510

Browse files
committed
alpha: alias getdtablesize to printargs
* linux/dummy.h [ALPHA] (sys_getdtablesize): Alias to printargs. * desc.c [ALPHA] (SYS_FUNC(getdtablesize)): Remove.
1 parent 6833d61 commit fbec510

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

desc.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@ SYS_FUNC(dup3)
6868
return do_dup2(tcp, 2);
6969
}
7070

71-
#if defined(ALPHA)
72-
SYS_FUNC(getdtablesize)
73-
{
74-
return 0;
75-
}
76-
#endif
77-
7871
static int
7972
decode_select(struct tcb *tcp, long *args,
8073
void (*print_tv_ts) (struct tcb *, const long),

linux/dummy.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
# endif
4646
# endif
4747
#endif
48+
#ifdef ALPHA
49+
# define sys_getdtablesize printargs
50+
#endif
4851

4952
/* like another call */
5053
#define sys_acct sys_chdir

0 commit comments

Comments
 (0)