diff options
author | Neale Ranns <nranns@cisco.com> | 2017-04-26 13:59:20 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-05-03 12:35:05 +0000 |
commit | e72be39cd0f498178fd62dfc0a0b0daa2b633f62 (patch) | |
tree | 7b18cfecc33966c9fcb7a8daf3743d97a72332c6 /src/svm/svm.c | |
parent | 9e355523f30e46efd2b1550ae029b544dfe866c4 (diff) |
A sprinkling of const in vlibmemory/api.h and friends
Change-Id: I953ebb37eeec7de0c4a6b00258c3c67a83cbc020
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/svm/svm.c')
-rw-r--r-- | src/svm/svm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/svm/svm.c b/src/svm/svm.c index e4ca98e1ed2..97add5a786c 100644 --- a/src/svm/svm.c +++ b/src/svm/svm.c @@ -796,7 +796,7 @@ svm_region_init (void) } void -svm_region_init_chroot (char *root_path) +svm_region_init_chroot (const char *root_path) { svm_map_region_args_t _a, *a = &_a; @@ -813,7 +813,7 @@ svm_region_init_chroot (char *root_path) } void -svm_region_init_chroot_uid_gid (char *root_path, int uid, int gid) +svm_region_init_chroot_uid_gid (const char *root_path, int uid, int gid) { svm_map_region_args_t _a, *a = &_a; @@ -1151,7 +1151,7 @@ svm_client_scan_this_region_nolock (svm_region_t * rp) * Scan svm regions for dead clients */ void -svm_client_scan (char *root_path) +svm_client_scan (const char *root_path) { int i, j; svm_main_region_t *mp; |