X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Flib%2Fvalue.h;h=518012a52df95c59756ff9523935a7ca5a1fd151;hp=4230f44ce76d30cf4a1058ead7726dea9b6573d1;hb=0235b0db7de5bcacdb3650c92461f2ce5eb2143d;hpb=91d8147391efdc4d42cc4e1c171a65c0372a008f diff --git a/src/lib/value.h b/src/lib/value.h index 4230f44c..518012a5 100644 --- a/src/lib/value.h +++ b/src/lib/value.h @@ -1,33 +1,16 @@ -#ifndef BABELTRACE_VALUES_INTERNAL_H -#define BABELTRACE_VALUES_INTERNAL_H - /* - * Copyright (c) 2015-2018 Philippe Proulx + * SPDX-License-Identifier: MIT * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (c) 2015-2018 Philippe Proulx */ -#include "lib/object.h" -#include -#include -#include +#ifndef BABELTRACE_VALUES_INTERNAL_H +#define BABELTRACE_VALUES_INTERNAL_H + #include +#include + +#include "lib/object.h" #include "common/macros.h" struct bt_value { @@ -70,7 +53,7 @@ struct bt_value_map { }; BT_HIDDEN -enum bt_value_status _bt_value_freeze(const struct bt_value *object); +void _bt_value_freeze(const struct bt_value *object); #ifdef BT_DEV_MODE # define bt_value_freeze _bt_value_freeze