Print this page
5863 psiginfo arguments should be const
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/port/llib-lc
          +++ new/usr/src/lib/libc/port/llib-lc
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24   * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
  25   25   * Copyright 2013 OmniTI Computer Consulting, Inc. All rights reserved.
  26   26   * Copyright (c) 2013 Gary Mills
  27   27   * Copyright 2014 Garrett D'Amore <garrett@damore.org>
       28 + * Copyright 2015 Circonus, Inc.  All rights reserved.
  28   29   */
  29   30  
  30   31  /* LINTLIBRARY */
  31   32  /* PROTOLIB1 */
  32   33  
  33   34  #define __EXTENSIONS__
  34   35  
  35   36  #include <aio.h>
  36   37  #include <alloca.h>
  37   38  #include <attr.h>
↓ open down ↓ 715 lines elided ↑ open up ↑
 753  754  
 754  755  /* opt_data.c */
 755  756  
 756  757  /* perror.c */
 757  758  void perror(const char *s);
 758  759  
 759  760  /* pipe.c */
 760  761  int pipe(int *fds);
 761  762  
 762  763  /* psiginfo.c */
 763      -void psiginfo(siginfo_t *sip, char *s);
      764 +void psiginfo(const siginfo_t *sip, const char *s);
 764  765  
 765  766  /* psignal.c */
 766  767  void psignal(int sig, const char *s);
 767  768  
 768  769  /* pt.c */
 769  770  char *ptsname(int fd);
 770  771  int unlockpt(int fd);
 771  772  int grantpt(int fd);
 772  773  
 773  774  /* putenv.c */
↓ open down ↓ 1031 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX