Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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 b36bb7408..a9a4a5bb4 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;