diff options
Diffstat (limited to 'src/label_android_property.c')
-rw-r--r-- | src/label_android_property.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/label_android_property.c b/src/label_android_property.c index cf73ec1..b1837c4 100644 --- a/src/label_android_property.c +++ b/src/label_android_property.c @@ -132,7 +132,7 @@ static int process_line(struct selabel_handle *rec, return 0; } -static int init(struct selabel_handle *rec, struct selinux_opt *opts, +static int init(struct selabel_handle *rec, const struct selinux_opt *opts, unsigned n) { struct saved_data *data = (struct saved_data *)rec->data; @@ -277,8 +277,9 @@ static void stats(struct selabel_handle __attribute__((unused)) *rec) selinux_log(SELINUX_WARNING, "'stats' functionality not implemented.\n"); } -int selabel_property_init(struct selabel_handle *rec, struct selinux_opt *opts, - unsigned nopts) +int selabel_property_init(struct selabel_handle *rec, + const struct selinux_opt *opts, + unsigned nopts) { struct saved_data *data; |