diff options
Diffstat (limited to 'core/pool.c')
-rw-r--r-- | core/pool.c | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/core/pool.c b/core/pool.c index adf6c90..9294f8c 100644 --- a/core/pool.c +++ b/core/pool.c @@ -1,20 +1,6 @@ -/* Copyright 2013-2014 IBM Corp. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/* This file provides some functions to manage a pool of pre-allocated +// SPDX-License-Identifier: Apache-2.0 +/* + * This file provides some functions to manage a pool of pre-allocated * objects. It also provides a method to reserve a pre-defined number * of objects for higher priorty requests. The allocations follow the * following rules: @@ -26,6 +12,8 @@ * 3. When an allocation is freed it is always added to the high priority * pool if there are less than the reserved number of allocations * available. + * + * Copyright 2013-2014 IBM Corp. */ #include <pool.h> |