From 3e0c11bdce88bb7d4f3408fe332580669163a0da Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 6 Jun 2008 02:44:10 +0000 Subject: Heed a warning: "string" was assigned to char*, changing that to const char* --- include/sys/syslog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/sys/syslog.h') diff --git a/include/sys/syslog.h b/include/sys/syslog.h index e8fc4e71e..3f5e6b297 100644 --- a/include/sys/syslog.h +++ b/include/sys/syslog.h @@ -67,8 +67,8 @@ /* mark "facility" */ #define INTERNAL_MARK LOG_MAKEPRI(LOG_NFACILITIES, 0) typedef struct _code { - char *c_name; - int c_val; + const char *c_name; + int c_val; } CODE; #ifdef SYSLOG_NAMES_CONST -- cgit v1.2.3