Rename C++ header files to .hpp
[lttng-tools.git] / src / common / fd-tracker / inode.cpp
index 404ba360b2ab40f8ee3d4c35bfd93d4622651c6e..b5cdcf1b27b583dd3e67f004db62ba214057281d 100644 (file)
@@ -5,13 +5,13 @@
  *
  */
 
-#include <common/defaults.h>
-#include <common/error.h>
-#include <common/hashtable/utils.h>
-#include <common/macros.h>
-#include <common/optional.h>
-#include <common/string-utils/format.h>
-#include <common/utils.h>
+#include <common/defaults.hpp>
+#include <common/error.hpp>
+#include <common/hashtable/utils.hpp>
+#include <common/macros.hpp>
+#include <common/optional.hpp>
+#include <common/string-utils/format.hpp>
+#include <common/utils.hpp>
 #include <inttypes.h>
 #include <lttng/constant.h>
 #include <sys/stat.h>
@@ -21,7 +21,7 @@
 #include <urcu/rculfhash.h>
 #include <urcu/ref.h>
 
-#include "inode.h"
+#include "inode.hpp"
 
 struct inode_id {
        dev_t device;
@@ -66,6 +66,8 @@ static struct {
        unsigned long value;
 } seed = {
                .lock = PTHREAD_MUTEX_INITIALIZER,
+               .initialized = false,
+               .value = 0,
 };
 
 static unsigned long lttng_inode_id_hash(const struct inode_id *id)
This page took 0.025978 seconds and 4 git commands to generate.