This is an automated email from the ASF dual-hosted git repository.

gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit f181ed6fd2a42e80c67508d712e421dd1cdfbca4
Author: Xiang Xiao <[email protected]>
AuthorDate: Fri Jul 30 04:53:31 2021 +0800

    libc: Reorder LC_XXX as Linux
    
    Signed-off-by: Xiang Xiao <[email protected]>
---
 include/locale.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/locale.h b/include/locale.h
index 2abef76..bc877df 100644
--- a/include/locale.h
+++ b/include/locale.h
@@ -32,13 +32,13 @@
  * Pre-processor Definitions
  ****************************************************************************/
 
-#define LC_ALL           0
-#define LC_COLLATE       1
-#define LC_CTYPE         2
-#define LC_MONETARY      3
-#define LC_NUMERIC       4
-#define LC_TIME          5
-#define LC_MESSAGES      6
+#define LC_CTYPE         0
+#define LC_NUMERIC       1
+#define LC_TIME          2
+#define LC_COLLATE       3
+#define LC_MONETARY      4
+#define LC_MESSAGES      5
+#define LC_ALL           6
 
 #define LC_COLLATE_MASK  (1 << LC_COLLATE)
 #define LC_CTYPE_MASK    (1 << LC_CTYPE)

Reply via email to