X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconfig%2Fini.h;h=34b3654eae7b78e933aa1e3bc20287fca193f072;hb=9730eb85b37e03a16008bbfc93dcb3a4b26ce934;hp=cb65f11b712290fd0842ba7971ef4742a0561a40;hpb=890d8fe47755c3bad936389cf48ffa141cff41c9;p=lttng-tools.git diff --git a/src/common/config/ini.h b/src/common/config/ini.h index cb65f11b7..34b3654ea 100644 --- a/src/common/config/ini.h +++ b/src/common/config/ini.h @@ -3,7 +3,9 @@ * * The "inih" library is distributed under the New BSD license: * - * Copyright (c) 2009, Brush Technology - All rights reserved. + * Copyright (C) 2009 Brush Technology - All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -35,10 +37,6 @@ #define __INI_H__ /* Make this header file easier to include in C++ code */ -#ifdef __cplusplus -extern "C" { -#endif - #include typedef int (*ini_entry_handler)(void *, const char *, const char *, @@ -93,8 +91,4 @@ int ini_parse_file(FILE *file, ini_entry_handler handler, void *user); #define INI_MAX_LINE 200 #endif -#ifdef __cplusplus -} -#endif - #endif /* __INI_H__ */