diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-05-21 17:32:47 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-05-21 17:32:47 +0000 |
commit | c69ff89710c2a18a3f320b58660154396f12c1ae (patch) | |
tree | 041dde1b1c630faca5540b8775f1dd52872b7db9 | |
parent | a6882bcc1502a92b7f1384f9f92b606e8b7179d9 (diff) | |
download | src-c69ff89710c2a18a3f320b58660154396f12c1ae.tar.gz src-c69ff89710c2a18a3f320b58660154396f12c1ae.zip |
syslog.h fails to compile with -Wwrite-strings
PR: 27492
Submitted by: Alexey V. Neyman <avn@any.ru>
Notes
Notes:
svn path=/head/; revision=76937
-rw-r--r-- | sys/sys/syslog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/syslog.h b/sys/sys/syslog.h index 0858af591113..c14e0241fa01 100644 --- a/sys/sys/syslog.h +++ b/sys/sys/syslog.h @@ -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[] = { |