Print this page
2964 need POSIX 2008 locale object support (more C++ fixes)

Split Close
Expand all
Collapse all
          --- old/usr/src/head/langinfo.h
          +++ new/usr/src/head/langinfo.h
↓ open down ↓ 147 lines elided ↑ open up ↑
 148  148   */
 149  149  #if defined(__STDC__)
 150  150  char   *nl_langinfo(nl_item);   /* get a string from the database       */
 151  151  #else
 152  152  char   *nl_langinfo();          /* get a string from the database       */
 153  153  #endif
 154  154  
 155  155  #if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
 156  156  #ifndef _LOCALE_T
 157  157  #define _LOCALE_T
 158      -typedef struct locale *locale_t;
      158 +typedef struct _locale *locale_t;
 159  159  #endif
 160  160  
 161  161  #if defined(__STDC__)
 162  162  char    *nl_langinfo_l(nl_item, locale_t);
 163  163  #else
 164  164  char    *nl_langinfo_l();
 165  165  #endif
 166  166  #endif
 167  167  
 168  168  #ifdef  __cplusplus
 169  169  }
 170  170  #endif
 171  171  
 172  172  #endif  /* _LANGINFO_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX