Constify 'name' field in struct funix. This commit makes syslogd(8)

WARNS?=6 on amd64 but I have not tested under universe so keep WARNS?=
level as-is for now.
This commit is contained in:
Xin LI 2008-12-19 18:27:51 +00:00
parent d5db4444c3
commit 7ad0654cff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186331

View File

@ -128,7 +128,7 @@ const char ctty[] = _PATH_CONSOLE;
*/
struct funix {
int s;
char *name;
const char *name;
mode_t mode;
STAILQ_ENTRY(funix) next;
};