[gnome-builder] counters: we made a real function for this which is always there



commit e658ba4feadb3796d14d1b256954c9dad2d9fc0c
Author: Christian Hergert <christian hergert me>
Date:   Thu Sep 17 13:59:38 2015 -0700

    counters: we made a real function for this which is always there

 contrib/egg/egg-counter.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/contrib/egg/egg-counter.h b/contrib/egg/egg-counter.h
index 9448857..6901872 100644
--- a/contrib/egg/egg-counter.h
+++ b/contrib/egg/egg-counter.h
@@ -158,7 +158,6 @@ G_BEGIN_DECLS
 # define egg_get_current_cpu() egg_get_current_cpu_rdtscp()
 #elif defined(__linux__)
 # define egg_get_current_cpu() egg_get_current_cpu_call()
-extern guint egg_get_current_cpu_call (void);
 #else
 # define egg_get_current_cpu() 0
 # define EGG_COUNTER_REQUIRES_ATOMIC 1
@@ -268,6 +267,7 @@ struct _EggCounterValue
   gint64          padding [7];
 } __attribute__ ((aligned(8)));
 
+guint            egg_get_current_cpu_call       (void);
 EggCounterArena *egg_counter_arena_get_default  (void);
 EggCounterArena *egg_counter_arena_new_for_pid  (GPid                   pid);
 EggCounterArena *egg_counter_arena_ref          (EggCounterArena       *arena);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]