Bin stupid macro that was used just once
Change-Id: I2e7528cb374d621f148d559c51521013bba62477
This commit is contained in:
parent
997066dd48
commit
f02c5f71d6
1 changed files with 1 additions and 4 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue