aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/unix/ttyname.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/unix/ttyname.c')
-rw-r--r--newlib/libc/unix/ttyname.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/unix/ttyname.c b/newlib/libc/unix/ttyname.c
index b36bb74..a9a4a5b 100644
--- a/newlib/libc/unix/ttyname.c
+++ b/newlib/libc/unix/ttyname.c
@@ -41,8 +41,7 @@ static char ttyname_buf[TTYNAME_BUFSIZE] = _PATH_DEV;
* ttyname() - POSIX 1003.1b 4.7.2 - Determine Terminal Device Name
*/
char *
-_DEFUN( ttyname,(fd),
- int fd)
+ ttyname (int fd)
{
register int fail;
register char *ret=NULL;