diff --git a/kernel/resource.c b/kernel/resource.c index 673061c06da182dbe02993d6f332168f8b3b3c96..8957d686e29ba94c49f2a67f9fab5ddcdfd3a050 100644 --- a/kernel/resource.c +++ b/kernel/resource.c @@ -511,7 +511,7 @@ static int find_resource(struct resource *root, struct resource *new, * @newsize: new size of the resource descriptor * @constraint: the size and alignment constraints to be met. */ -int reallocate_resource(struct resource *root, struct resource *old, +static int reallocate_resource(struct resource *root, struct resource *old, resource_size_t newsize, struct resource_constraint *constraint) {