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.
*******************************************************************************/