summaryrefslogtreecommitdiff
path: root/locale/C_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/C_name.c')
-rw-r--r--locale/C_name.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/locale/C_name.c b/locale/C_name.c
new file mode 100644
index 0000000000..5e7cb85a09
--- /dev/null
+++ b/locale/C_name.c
@@ -0,0 +1,7 @@
+/* Define a constant for the name of the standard C locale, so the string
+ constant is not repeated in dozens of object files. */
+
+#include "localeinfo.h"
+
+/* Name of our standard locale. */
+const char _nl_C_name[] = "C";