Remove extern "C" from internal headers
[lttng-tools.git] / src / common / config / ini.h
index cb65f11b712290fd0842ba7971ef4742a0561a40..34b3654eae7b78e933aa1e3bc20287fca193f072 100644 (file)
@@ -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:
 #define __INI_H__
 
 /* Make this header file easier to include in C++ code */
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #include <stdio.h>
 
 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__ */
This page took 0.027228 seconds and 4 git commands to generate.