aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-profile-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-profile-event.c')
-rw-r--r--e-util/e-profile-event.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/e-util/e-profile-event.c b/e-util/e-profile-event.c
index 88e8579c2b..9e647c1585 100644
--- a/e-util/e-profile-event.c
+++ b/e-util/e-profile-event.c
@@ -125,7 +125,7 @@ e_profile_event_target_new(EProfileEvent *eme, const char *id, const char *uid,
}
#ifdef ENABLE_PROFILING
-void
+static void
e_profile_event_emit(const char *id, const char *uid, guint32 flags)
{
EProfileEvent *epe = e_profile_event_peek();
@@ -134,11 +134,12 @@ e_profile_event_emit(const char *id, const char *uid, guint32 flags)
e_event_emit((EEvent *)epe, "event", (EEventTarget *)t);
}
#else
+/* simply keep macro from header file expand to "nothing".
#undef e_profile_event_emit
-void
+static void
e_profile_event_emit(const char *id, const char *uid, guint32 flags)
{
-}
+}*/
#endif
/* ********************************************************************** */