Print this page
Rich's feedback

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsysdemangle/common/sysdemangle.h
          +++ new/usr/src/lib/libdemangle/common/demangle-sys.h
↓ open down ↓ 5 lines elided ↑ open up ↑
   6    6   *
   7    7   * A full copy of the text of the CDDL should have accompanied this
   8    8   * source.  A copy of the CDDL is also available via the Internet at
   9    9   * http://www.illumos.org/license/CDDL.
  10   10   */
  11   11  
  12   12  /*
  13   13   * Copyright 2017 Jason King
  14   14   */
  15   15  
  16      -#ifndef _SYSDEMANGLE_H
  17      -#define _SYSDEMANGLE_H
       16 +#ifndef _DEMANGLE_SYS_H
       17 +#define _DEMANGLE_SYS_H
  18   18  
  19   19  #include <sys/types.h>
  20   20  
  21   21  #ifdef __cplusplus
  22   22  extern "C" {
  23   23  #endif
  24   24  
  25   25  typedef enum sysdem_lang_e {
  26   26          SYSDEM_LANG_AUTO,
  27   27          SYSDEM_LANG_CPP
↓ open down ↓ 3 lines elided ↑ open up ↑
  31   31          void *(*alloc)(size_t);
  32   32          void (*free)(void *, size_t);
  33   33  } sysdem_ops_t;
  34   34  
  35   35  char *sysdemangle(const char *, sysdem_lang_t, sysdem_ops_t *);
  36   36  
  37   37  #ifdef __cplusplus
  38   38  }
  39   39  #endif
  40   40  
  41      -#endif /* _SYSDEMANGLE_H */
       41 +#endif /* _DEMANGLE_SYS_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX