summaryrefslogtreecommitdiff
path: root/lib/privs.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-05 21:01:23 +0000
committerhasso <hasso>2004-10-05 21:01:23 +0000
commit8c328f1106cf0498333c2d8a96940e7b4581e316 (patch)
tree9bf24cca6a68a9dd5d4dda586484e497d0c19ca6 /lib/privs.h
parent98c91ac6ac085713c00af00a6ac41779be6b50b3 (diff)
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.h6
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 */