diff options
author | hasso <hasso> | 2004-10-05 21:01:23 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-05 21:01:23 +0000 |
commit | ff2e9e3c3816b7b828bbb023639db52364d729ff (patch) | |
tree | 7c586b5a363b80f0ecb4ab63137f89747ea72dd5 /lib/privs.h | |
parent | 19290b43288f6636b6eca07156a4069324962751 (diff) | |
download | quagga-ff2e9e3c3816b7b828bbb023639db52364d729ff.tar.bz2 quagga-ff2e9e3c3816b7b828bbb023639db52364d729ff.tar.xz |
Number of warnings is down to 3 again in lib directory. A lot of const's
added to strings and a lot of int -> unsigned int changes.
Diffstat (limited to 'lib/privs.h')
-rw-r--r-- | lib/privs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/privs.h b/lib/privs.h index 65c9f358..76e8af23 100644 --- a/lib/privs.h +++ b/lib/privs.h @@ -61,9 +61,9 @@ struct zebra_privs_t zebra_capabilities_t *caps_i; /* caps to allow inheritance of */ int cap_num_p; /* number of caps in arrays */ int cap_num_i; - char *user; /* user and group to run as */ - char *group; - char *vty_group; /* group to chown vty socket to */ + const char *user; /* user and group to run as */ + const char *group; + const char *vty_group; /* group to chown vty socket to */ /* methods */ int (*change) (zebra_privs_ops_t); /* change privileges, 0 on success */ |