Print this page
2964 need POSIX 2008 locale object support
Reviewed by: Robert Mustacchi <rm@joyent.com>

@@ -1,6 +1,7 @@
 /*
+ * Copyright 2013 Garrett D'Amore <garrett@damore.org>
  * Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org>
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions

@@ -25,11 +26,11 @@
  */
 
 #ifndef _LMONETARY_H_
 #define _LMONETARY_H_
 
-struct lc_monetary_T {
+struct lc_monetary {
         const char      *int_curr_symbol;
         const char      *currency_symbol;
         const char      *mon_decimal_point;
         const char      *mon_thousands_sep;
         const char      *mon_grouping;

@@ -47,11 +48,11 @@
         const char      *int_n_cs_precedes;
         const char      *int_p_sep_by_space;
         const char      *int_n_sep_by_space;
         const char      *int_p_sign_posn;
         const char      *int_n_sign_posn;
+        char            *crncystr;              /* nl_langinfo */
 };
 
-struct lc_monetary_T *__get_current_monetary_locale(void);
 int     __monetary_load_locale(const char *);
 
 #endif /* !_LMONETARY_H_ */