syslog.h fails to compile with -Wwrite-strings

PR:		27492
Submitted by:	Alexey V. Neyman <avn@any.ru>
This commit is contained in:
Poul-Henning Kamp 2001-05-21 17:32:47 +00:00
parent a6882bcc15
commit c69ff89710

View file

@ -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[] = {