[LTP] [PATCH 02/10] fix old-style-definition in readline.c
Michael Moese
mmoese@suse.de
Thu Jan 25 16:22:56 CET 2018
Signed-off-by: Michael Moese <mmoese@suse.de>
---
testcases/kernel/sched/clisrv/readline.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/testcases/kernel/sched/clisrv/readline.c b/testcases/kernel/sched/clisrv/readline.c
index e65ef1840..0c3272999 100644
--- a/testcases/kernel/sched/clisrv/readline.c
+++ b/testcases/kernel/sched/clisrv/readline.c
@@ -25,10 +25,7 @@
/* Read line from a descriptor, byte at a time, return number of
characters up to the null */
-int readline(fd, ptr, maxlen)
-register int fd;
-register char *ptr;
-register int maxlen;
+int readline(int fd, char *ptr, int maxlen)
{
int n, rc;
char c;
--
2.13.6
More information about the ltp
mailing list