From 7668d2bc0bfe7230e62f915c679e2e1d20c246fa Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Tue, 25 Jun 2013 00:20:58 +0200 Subject: [PATCH] Move locale.h functions into their own directory. --- libc/Makefile | 4 ++-- libc/{ => locale}/localeconv.cpp | 2 +- libc/{ => locale}/setlocale.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename libc/{ => locale}/localeconv.cpp (98%) rename libc/{ => locale}/setlocale.cpp (98%) diff --git a/libc/Makefile b/libc/Makefile index 56e6205e..fb5a776e 100644 --- a/libc/Makefile +++ b/libc/Makefile @@ -256,7 +256,8 @@ libgen/basename.o \ libgen/dirname.o \ linkat.o \ link.o \ -localeconv.o \ +locale/localeconv.o \ +locale/setlocale.o \ lseek.o \ lstat.o \ memstat.o \ @@ -313,7 +314,6 @@ select.o \ setegid.o \ seteuid.o \ setgid.o \ -setlocale.o \ setpgid.o \ settermmode.o \ setuid.o \ diff --git a/libc/localeconv.cpp b/libc/locale/localeconv.cpp similarity index 98% rename from libc/localeconv.cpp rename to libc/locale/localeconv.cpp index f4396a5b..5e5f962a 100644 --- a/libc/localeconv.cpp +++ b/libc/locale/localeconv.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU Lesser General Public License along with the Sortix C Library. If not, see . - localeconv.cpp + locale/localeconv.cpp Return locale-specific information. *******************************************************************************/ diff --git a/libc/setlocale.cpp b/libc/locale/setlocale.cpp similarity index 98% rename from libc/setlocale.cpp rename to libc/locale/setlocale.cpp index d4cdc7f2..496d3e4e 100644 --- a/libc/setlocale.cpp +++ b/libc/locale/setlocale.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU Lesser General Public License along with the Sortix C Library. If not, see . - setlocale.cpp + locale/setlocale.cpp Set program locale. *******************************************************************************/