Add a basic .clang-tidy file and fix typedef warnings
[lttng-tools.git] / src / common / ini-config / ini-config.hpp
index 3e4160596d339c18c8f9328a8910d0eb552a34df..d1712489a33c9216de928db650c14667519a3ce4 100644 (file)
@@ -25,7 +25,7 @@ struct config_entry {
  * config_entry_handler_cb may return negative value to indicate an error in
  * the configuration file.
  */
-typedef int (*config_entry_handler_cb)(const struct config_entry *, void *);
+using config_entry_handler_cb = int (*)(const struct config_entry *, void *);
 
 /*
  * Read a section's entries in an INI configuration file.
This page took 0.022513 seconds and 4 git commands to generate.