projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e769270
)
Don't redundantly redeclare
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 7 Oct 2011 04:42:52 +0000
(
00:42
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 7 Oct 2011 04:42:52 +0000
(
00:42
-0400)
It makes gcc throw an error:
redundant redeclaration of 'g_static_mutex_get_mutex_impl' [-Werror=redundant-decls]
glib/deprecated/gthread.h
patch
|
blob
|
history
diff --git
a/glib/deprecated/gthread.h
b/glib/deprecated/gthread.h
index
d916ae6
..
0bfb53b
100644
(file)
--- 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,