summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-02-03 11:21:17 +0100
committerTor Lillqvist <tml@collabora.com>2015-02-03 11:21:43 +0100
commitf02c5f71d659de6246b331250e6f3e305a135702 (patch)
treed2d4c19ccc7e191354d04748460fb7f55e835c66 /sal
parent997066dd4805abe732d00598753b941113b7405e (diff)
Bin stupid macro that was used just once
Change-Id: I2e7528cb374d621f148d559c51521013bba62477
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/pipe.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sal/osl/unx/pipe.cxx b/sal/osl/unx/pipe.cxx
index 4a203acb8fa3..1bedcf2b6d55 100644
--- a/sal/osl/unx/pipe.cxx
+++ b/sal/osl/unx/pipe.cxx
@@ -72,9 +72,6 @@ static oslPipeError osl_PipeErrorFromNative(int nativeType)
return PipeError[i].error;
}
-/* macros */
-#define ERROR_FROM_NATIVE(y) osl_PipeErrorFromNative(y)
-
oslPipe __osl_createPipeImpl(void)
{
oslPipe pPipeImpl;
@@ -541,7 +538,7 @@ sal_Int32 SAL_CALL osl_sendPipe(oslPipe pPipe,
oslPipeError SAL_CALL osl_getLastPipeError(oslPipe pPipe)
{
(void) pPipe; /* unused */
- return ERROR_FROM_NATIVE(errno);
+ return osl_PipeErrorFromNative(errno);
}
sal_Int32 SAL_CALL osl_writePipe( oslPipe pPipe, const void *pBuffer , sal_Int32 n )