OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15bf998
)
remove unused thread callback function declaration
author
Ivailo Monev
<xakepa10@laimg.moc>
Sun, 14 Jul 2019 16:42:27 +0000
(16:42 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Sun, 14 Jul 2019 16:42:27 +0000
(16:42 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/core/thread/qthread_unix.cpp
patch
|
blob
|
history
diff --git
a/src/core/thread/qthread_unix.cpp
b/src/core/thread/qthread_unix.cpp
index
cb4e66b
..
055b15b
100644
(file)
--- a/
src/core/thread/qthread_unix.cpp
+++ b/
src/core/thread/qthread_unix.cpp
@@
-164,23
+164,11
@@
void QAdoptedThread::init()
Q_D(QThread);
d->thread_id = pthread_self();
}
+#endif // QT_NO_THREAD
/*
QThreadPrivate
*/
-
-#if defined(Q_C_CALLBACKS)
-extern "C" {
-#endif
-
-typedef void*(*QtThreadCallback)(void*);
-
-#if defined(Q_C_CALLBACKS)
-}
-#endif
-
-#endif // QT_NO_THREAD
-
void QThreadPrivate::createEventDispatcher(QThreadData *data)
{
QMutexLocker l(&data->postEventList.mutex);