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

*** 18,27 **** --- 18,30 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2015 Circonus, Inc. All rights reserved. + */ + /* * Copyright 2014 Garrett D'Amore <garrett@damore.org> */ /* Copyright (c) 1988 AT&T */ /* All Rights Reserved */
*** 38,58 **** struct siginfolist { int nsiginfo; char **vsiginfo; }; ! extern const char * _sys_illlist[]; ! extern const char * _sys_fpelist[]; ! extern const char * _sys_segvlist[]; ! extern const char * _sys_buslist[]; ! extern const char * _sys_traplist[]; ! extern const char * _sys_cldlist[]; extern const struct siginfolist *_sys_siginfolistp; #define _sys_siginfolist _sys_siginfolistp extern void psignal(int, const char *); ! extern void psiginfo(siginfo_t *, char *); #ifdef __cplusplus } #endif --- 41,61 ---- struct siginfolist { int nsiginfo; char **vsiginfo; }; ! extern const char *_sys_illlist[]; ! extern const char *_sys_fpelist[]; ! extern const char *_sys_segvlist[]; ! extern const char *_sys_buslist[]; ! extern const char *_sys_traplist[]; ! extern const char *_sys_cldlist[]; extern const struct siginfolist *_sys_siginfolistp; #define _sys_siginfolist _sys_siginfolistp extern void psignal(int, const char *); ! extern void psiginfo(const siginfo_t *, const char *); #ifdef __cplusplus } #endif