From 97c277be59782b60dff99924dc35a41fac3bfab9 Mon Sep 17 00:00:00 2001 From: Vyacheslav Cherkashin Date: Mon, 5 Sep 2016 14:47:21 +0300 Subject: [PATCH] Change type to static -struct ktask_data ktd = { +static struct ktask_data ktd = { Change-Id: I760f95898aa870378dad2e3e9f3d81181c6e0fb1 Signed-off-by: Vyacheslav Cherkashin --- nsp/nsp.c | 2 +- task_ctx/task_ctx.c | 2 +- us_manager/sspt/sspt_proc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nsp/nsp.c b/nsp/nsp.c index 8319997..593bf9a 100644 --- a/nsp/nsp.c +++ b/nsp/nsp.c @@ -589,7 +589,7 @@ static void ktd_init(struct task_struct *task, void *data) tdata->nsp_data = NULL; } -struct ktask_data ktd = { +static struct ktask_data ktd = { .init = ktd_init, .size = sizeof(struct tdata), }; diff --git a/task_ctx/task_ctx.c b/task_ctx/task_ctx.c index fb12f1d..81fe9fb 100644 --- a/task_ctx/task_ctx.c +++ b/task_ctx/task_ctx.c @@ -109,7 +109,7 @@ static void ktd_exit(struct task_struct *task, void *data) WARN(*call, "call is not NULL"); } -struct ktask_data ktd = { +static struct ktask_data ktd = { .init = ktd_init, .exit = ktd_exit, .size = sizeof(struct call_task *), diff --git a/us_manager/sspt/sspt_proc.c b/us_manager/sspt/sspt_proc.c index e976289..ef345be 100644 --- a/us_manager/sspt/sspt_proc.c +++ b/us_manager/sspt/sspt_proc.c @@ -103,7 +103,7 @@ static void ktd_exit(struct task_struct *task, void *data) WARN_ON(kproc->proc); } -struct ktask_data ktd = { +static struct ktask_data ktd = { .init = ktd_init, .exit = ktd_exit, .size = sizeof(struct ktd_proc), -- 2.7.4