summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-06 02:44:10 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-06 02:44:10 +0000
commit3e0c11bdce88bb7d4f3408fe332580669163a0da (patch)
treec8a809b2f9fbce876a397a2ed9f19923d6116130 /include/sys
parent78bb0c1f0bf5c4e1fe39d0ebcda96b480c28e0ec (diff)
Heed a warning: "string" was assigned to char*, changing that to const char*
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/syslog.h4
1 files changed, 2 insertions, 2 deletions
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