[glib] Don't redundantly redeclare
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Don't redundantly redeclare
- Date: Fri, 7 Oct 2011 04:44:32 +0000 (UTC)
commit c51fa1852dc7c661dc5d46355303d97a521e0a0c
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Oct 7 00:42:52 2011 -0400
Don't redundantly redeclare
It makes gcc throw an error:
redundant redeclaration of 'g_static_mutex_get_mutex_impl' [-Werror=redundant-decls]
glib/deprecated/gthread.h | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/glib/deprecated/gthread.h b/glib/deprecated/gthread.h
index d916ae6..0bfb53b 100644
--- a/glib/deprecated/gthread.h
+++ b/glib/deprecated/gthread.h
@@ -96,9 +96,6 @@ GLIB_VAR gboolean g_thread_use_default_impl;
GLIB_VAR guint64 (*g_thread_gettime) (void);
-/* internal function for fallback static mutex implementation */
-GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
-
GThread* g_thread_create (GThreadFunc func,
gpointer data,
gboolean joinable,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]