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

Split Close
Expand all
Collapse all
          --- old/usr/src/head/strings.h
          +++ new/usr/src/head/strings.h
↓ open down ↓ 59 lines elided ↑ open up ↑
  60   60   * anything other than X/Open UNIX Extension would result in
  61   61   * conflicts with what is now in <string.h>.
  62   62   */
  63   63  #if defined(_XPG4_2) && !defined(__EXTENSIONS__)
  64   64  extern int ffs(int);
  65   65  extern int strcasecmp(const char *, const char *);
  66   66  extern int strncasecmp(const char *, const char *, size_t);
  67   67  #if defined(_XPG7)
  68   68  #ifndef _LOCALE_T
  69   69  #define _LOCALE_T
  70      -typedef struct locale *locale_t;
       70 +typedef struct _locale *locale_t;
  71   71  #endif
  72   72  extern int strcasecmp_l(const char *, const char *, locale_t);
  73   73  extern int strncasecmp_l(const char *, const char *, size_t, locale_t);
  74   74  #endif  /* defined(_XPG7) */
  75   75  #endif  /* defined(_XPG4_2) && !defined(__EXTENSIONS__) */
  76   76  
  77   77  #else
  78   78  
  79   79  extern int bcmp();
  80   80  extern void bcopy();
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX