diff --git a/src/main.c b/src/main.c index 118b3e4aaeb710040b0dd9da9810cedc548a73ff..be7e7e7d71af2f8c5408ba8a9f2601f7023d0ad3 100644 --- a/src/main.c +++ b/src/main.c @@ -57,20 +57,20 @@ static struct ubus_object test_object = { * @param : none * return : none */ -void qosmngr_version() +void qosmngr_version(void) { syslog(LOG_ERR, "version : %s.%s\n", qosmngr_base_version, qosmngr_xtra_version); } /** * To expose the qosmngr object on ubus i.e., qos with method queue_stats - * @param ctx input parameter pointer to ubus context + * @param context input parameter pointer to ubus context * retrun integer value 0 on success and -1 on failure */ -static int qosmngr_publish_object(struct ubus_context *ctx) +static int qosmngr_publish_object(struct ubus_context *context) { int ret; - ret = ubus_add_object(ctx, &test_object); + ret = ubus_add_object(context, &test_object); if (ret) { syslog(LOG_ERR, "Failed to add 'qos' ubus object: %s\n", ubus_strerror(ret));