summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-09 11:17:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-10 18:32:01 +0100
commitee4e520d11bfb266c69c66511eee443d0bc7cc31 (patch)
tree0b326b4d6ff1a52011d8652c65c358fe0ce432b3 /sal
parent708b42b359d96d6232d190b0a4a53ddae063957b (diff)
Remove unnecessary typedefs (that introduced reserved identifiers)
Change-Id: I42d09cccf07dca6733f763b1026f6c138cb70a61
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/thread.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sal/osl/unx/thread.cxx b/sal/osl/unx/thread.cxx
index b57cd9529434..e9446dfe31c4 100644
--- a/sal/osl/unx/thread.cxx
+++ b/sal/osl/unx/thread.cxx
@@ -556,12 +556,12 @@ void SAL_CALL osl_setThreadName(char const * name) {
#define HASHID(x) ((unsigned long)PTHREAD_VALUE(x) % HashSize)
-typedef struct _HashEntry
+struct HashEntry
{
pthread_t Handle;
sal_uInt16 Ident;
- struct _HashEntry *Next;
-} HashEntry;
+ HashEntry * Next;
+};
static HashEntry* HashTable[31];
static int HashSize = SAL_N_ELEMENTS(HashTable);
@@ -935,11 +935,11 @@ oslThreadPriority SAL_CALL osl_getThreadPriority(const oslThread Thread)
return Priority;
}
-typedef struct _wrapper_pthread_key
+struct wrapper_pthread_key
{
pthread_key_t m_key;
oslThreadKeyCallbackFunction pfnCallback;
-} wrapper_pthread_key;
+};
oslThreadKey SAL_CALL osl_createThreadKey( oslThreadKeyCallbackFunction pCallback )
{