Add a basic .clang-tidy file and fix typedef warnings
[lttng-tools.git] / src / common / ini-config / ini.hpp
index 34b3654eae7b78e933aa1e3bc20287fca193f072..c91f686763776413fad4f242741abb3f641fdd4e 100644 (file)
@@ -39,8 +39,7 @@
 /* Make this header file easier to include in C++ code */
 #include <stdio.h>
 
 /* Make this header file easier to include in C++ code */
 #include <stdio.h>
 
-typedef int (*ini_entry_handler)(void *, const char *, const char *,
-               const char *);
+using ini_entry_handler = int (*)(void *, const char *, const char *, const char *);
 
 /*
  * Parse given INI-style file. May have [section]s, name=value pairs
 
 /*
  * Parse given INI-style file. May have [section]s, name=value pairs
This page took 0.023335 seconds and 4 git commands to generate.