clang-tidy: add Chrome-inspired checks
[lttng-tools.git] / src / common / defaults.hpp
index 61e2891a1e9acd9552cb221c793202f30b951902..4588fe768e1536549e3a872ea6c51ebe2f83c2fc 100644 (file)
  * This function depends on a value that is set at constructor time, so it is
  * unsafe to call it from another constructor.
  */
-size_t default_get_channel_subbuf_size(void);
+size_t default_get_channel_subbuf_size();
 
 /*
  * Returns the default metadata subbuf size.
@@ -387,7 +387,7 @@ size_t default_get_channel_subbuf_size(void);
  * This function depends on a value that is set at constructor time, so it is
  * unsafe to call it from another constructor.
  */
-size_t default_get_metadata_subbuf_size(void);
+size_t default_get_metadata_subbuf_size();
 
 /*
  * Returns the default subbuf size for the kernel domain.
@@ -395,7 +395,7 @@ size_t default_get_metadata_subbuf_size(void);
  * This function depends on a value that is set at constructor time, so it is
  * unsafe to call it from another constructor.
  */
-size_t default_get_kernel_channel_subbuf_size(void);
+size_t default_get_kernel_channel_subbuf_size();
 
 /*
  * Returns the default subbuf size for the UST domain per PID.
@@ -403,7 +403,7 @@ size_t default_get_kernel_channel_subbuf_size(void);
  * This function depends on a value that is set at constructor time, so it is
  * unsafe to call it from another constructor.
  */
-size_t default_get_ust_pid_channel_subbuf_size(void);
+size_t default_get_ust_pid_channel_subbuf_size();
 
 /*
  * Returns the default subbuf size for the UST domain per UID.
@@ -411,7 +411,7 @@ size_t default_get_ust_pid_channel_subbuf_size(void);
  * This function depends on a value that is set at constructor time, so it is
  * unsafe to call it from another constructor.
  */
-size_t default_get_ust_uid_channel_subbuf_size(void);
+size_t default_get_ust_uid_channel_subbuf_size();
 
 /*
  * Get the default pthread_attr to use on thread creation.
@@ -422,6 +422,6 @@ size_t default_get_ust_uid_channel_subbuf_size(void);
  * pthread_attr_t pointer where the thread stack size is set to the soft stack
  * size limit.
  */
-pthread_attr_t *default_pthread_attr(void);
+pthread_attr_t *default_pthread_attr();
 
 #endif /* _DEFAULTS_H */
This page took 0.023303 seconds and 4 git commands to generate.