mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
syslog.h fails to compile with -Wwrite-strings
PR: 27492 Submitted by: Alexey V. Neyman <avn@any.ru>
This commit is contained in:
parent
a6882bcc15
commit
c69ff89710
1 changed files with 2 additions and 2 deletions
|
|
@ -68,8 +68,8 @@
|
|||
/* mark "facility" */
|
||||
#define INTERNAL_MARK LOG_MAKEPRI((LOG_NFACILITIES<<3), 0)
|
||||
typedef struct _code {
|
||||
char *c_name;
|
||||
int c_val;
|
||||
const char *c_name;
|
||||
int c_val;
|
||||
} CODE;
|
||||
|
||||
CODE prioritynames[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue