Print this page
5863 psiginfo arguments should be const
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
*** 16,36 ****
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
- #pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* Print the name of the siginfo indicated by "sig", along with the
* supplied message
*/
--- 16,37 ----
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
+ /*
+ * Copyright 2015 Circonus, Inc. All rights reserved.
+ */
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
/*
* Print the name of the siginfo indicated by "sig", along with the
* supplied message
*/
*** 44,54 ****
#include <siginfo.h>
#define strsignal(i) (_libc_gettext(_sys_siglistp[i]))
void
! psiginfo(siginfo_t *sip, char *s)
{
char buf[256];
char *c;
const struct siginfolist *listp;
--- 45,55 ----
#include <siginfo.h>
#define strsignal(i) (_libc_gettext(_sys_siglistp[i]))
void
! psiginfo(const siginfo_t *sip, const char *s)
{
char buf[256];
char *c;
const struct siginfolist *listp;