]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
fix the redefinition of bucket_t data structure
authorSvetlana <lana0771711@gmail.com>
Fri, 14 Aug 2020 11:30:53 +0000 (11:30 +0000)
committerSvetlana <lana0771711@gmail.com>
Fri, 14 Aug 2020 11:30:53 +0000 (11:30 +0000)
distbench/sshmidt.c

index 0594e4ff7ec6a205b3ce75aa8971b87c3cbdb195..d9e8db00122bbf3e911cc0c168e5adb108b62b09 100644 (file)
 
 #include <pthread.h>
 
-typedef struct bucket_s {
+struct bucket_s {
   uint64_t bucket_counter;
   double maximum;
-} bucket_t;
+};
 
 struct distribution_s {
   bucket_t *tree;