about summary refs log tree commit diff
path: root/locale/C-time.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-03-10 05:01:07 +0000
committerRoland McGrath <roland@gnu.org>1995-03-10 05:01:07 +0000
commit40deae084780af51458714b5d0c5a88787c8fcd1 (patch)
treefc8c0db5f5181b5c93626f0eabfef849779fd7b1 /locale/C-time.c
parentff3d7ed36ae26261cc1c76e5f03ee053d65f9229 (diff)
downloadglibc-40deae084780af51458714b5d0c5a88787c8fcd1.tar.gz
glibc-40deae084780af51458714b5d0c5a88787c8fcd1.tar.xz
glibc-40deae084780af51458714b5d0c5a88787c8fcd1.zip
* locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL
 	into just CLASS.  Add standard/optional flag to all items.

	* locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo.

	* ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit):
 	Rearrange defn to satisfy compiler.

	* locale/localeinfo.h: Declare _nl_current.
Diffstat (limited to 'locale/C-time.c')
-rw-r--r--locale/C-time.c90
1 files changed, 46 insertions, 44 deletions
diff --git a/locale/C-time.c b/locale/C-time.c
index 5329ae65fb..15bf15ae46 100644
--- a/locale/C-time.c
+++ b/locale/C-time.c
@@ -10,48 +10,50 @@ const struct locale_data _nl_C_LC_TIME =
 {
   NULL, 0, /* no file mapped */
   44,
-  "Sun",
-  "Mon",
-  "Tue",
-  "Wed",
-  "Thu",
-  "Fri",
-  "Sat",
-  "Sunday",
-  "Monday",
-  "Tuesday",
-  "Wednesday",
-  "Thursday",
-  "Friday",
-  "Saturday",
-  "Jan",
-  "Feb",
-  "Mar",
-  "Apr",
-  "May",
-  "Jun",
-  "Jul",
-  "Aug",
-  "Sep",
-  "Oct",
-  "Nov",
-  "Dec",
-  "January",
-  "February",
-  "March",
-  "April",
-  "May",
-  "June",
-  "July",
-  "August",
-  "September",
-  "October",
-  "November",
-  "December",
-  "AM",
-  "PM",
-  "%a %b %d %H:%M:%S %Y",
-  "%m/%d/%y",
-  "%H:%M:%S",
-  NULL,
+  {
+    "Sun",
+    "Mon",
+    "Tue",
+    "Wed",
+    "Thu",
+    "Fri",
+    "Sat",
+    "Sunday",
+    "Monday",
+    "Tuesday",
+    "Wednesday",
+    "Thursday",
+    "Friday",
+    "Saturday",
+    "Jan",
+    "Feb",
+    "Mar",
+    "Apr",
+    "May",
+    "Jun",
+    "Jul",
+    "Aug",
+    "Sep",
+    "Oct",
+    "Nov",
+    "Dec",
+    "January",
+    "February",
+    "March",
+    "April",
+    "May",
+    "June",
+    "July",
+    "August",
+    "September",
+    "October",
+    "November",
+    "December",
+    "AM",
+    "PM",
+    "%a %b %d %H:%M:%S %Y",
+    "%m/%d/%y",
+    "%H:%M:%S",
+    NULL
+  }
 };