diff options
author | Arnaud Versini <arnaud.versini@libreoffice.org> | 2013-09-22 14:08:53 +0200 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@libreoffice.org> | 2013-09-28 16:37:39 +0000 |
commit | 164b6ce7b27c0a9ec19019e7b078b9f8f382007d (patch) | |
tree | b6e497b0a14a5f5d40d1316a87334aa129f88aac /sal/osl/unx/interlck.c | |
parent | 9fb9b057d65b07fcd037b31505561c5b3fe9939c (diff) |
General cleanup in sal module for all and unix.
Remove useless comments and header, and de duplicate a small declaration.
Change-Id: I0d4475cbbd61ea964f8e586cf0e1f68eb91c4948
Reviewed-on: https://gerrit.libreoffice.org/6016
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Diffstat (limited to 'sal/osl/unx/interlck.c')
-rw-r--r-- | sal/osl/unx/interlck.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sal/osl/unx/interlck.c b/sal/osl/unx/interlck.c index 24d5b708a054..cd8b5d2125db 100644 --- a/sal/osl/unx/interlck.c +++ b/sal/osl/unx/interlck.c @@ -32,9 +32,6 @@ extern int osl_isSingleCPU; -/*****************************************************************************/ -/* osl_incrementInterlockedCount */ -/*****************************************************************************/ oslInterlockedCount SAL_CALL osl_incrementInterlockedCount(oslInterlockedCount* pCount) { // Fast case for old, slow, single CPU Intel machines for whom @@ -110,9 +107,6 @@ oslInterlockedCount SAL_CALL osl_decrementInterlockedCount(oslInterlockedCount* static pthread_mutex_t InterLock = PTHREAD_MUTEX_INITIALIZER; -/*****************************************************************************/ -/* osl_incrementInterlockedCount */ -/*****************************************************************************/ oslInterlockedCount SAL_CALL osl_incrementInterlockedCount(oslInterlockedCount* pCount) { oslInterlockedCount Count; @@ -124,9 +118,6 @@ oslInterlockedCount SAL_CALL osl_incrementInterlockedCount(oslInterlockedCount* return (Count); } -/*****************************************************************************/ -/* osl_decrementInterlockedCount */ -/*****************************************************************************/ oslInterlockedCount SAL_CALL osl_decrementInterlockedCount(oslInterlockedCount* pCount) { oslInterlockedCount Count; |