From 02b20a23114a743022b3cfac023b3a6eb8fdd072 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 23 Feb 2009 23:42:03 +0000 Subject: 2009-02-23 Craig Howland * libc/unix/ttyname.c: Remove ttyname_r() (to a new file to avoid coupling ttyname_r() and ttyname() due to the latter's large buffer). * libc/unix/ttyname_r.c: New file to hold ttyname_r(), previously in ttyname.c. * libc/unix/ttyname.h: New file (common size definition for the 2 ttyname*c files that are now split). * libc/unix/Makefile.am (ELIX_2_SOURCES): Add ttyname_r.c. * libc/unix/Makefile.in: Regenerate. --- newlib/libc/unix/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'newlib/libc/unix/Makefile.am') diff --git a/newlib/libc/unix/Makefile.am b/newlib/libc/unix/Makefile.am index f44d89a..270f994 100644 --- a/newlib/libc/unix/Makefile.am +++ b/newlib/libc/unix/Makefile.am @@ -12,7 +12,8 @@ GENERAL_SOURCES = \ ## Distinguish different EL/IX level interfaces ELIX_2_SOURCES = \ - ttyname.c + ttyname.c \ + ttyname_r.c ELIX_4_SOURCES = \ basename.c \ -- cgit v1.1