diff options
Diffstat (limited to 'sal/osl/unx/file_error_transl.hxx')
-rw-r--r-- | sal/osl/unx/file_error_transl.hxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sal/osl/unx/file_error_transl.hxx b/sal/osl/unx/file_error_transl.hxx index 5357db3d28b0..77340f9b0748 100644 --- a/sal/osl/unx/file_error_transl.hxx +++ b/sal/osl/unx/file_error_transl.hxx @@ -23,23 +23,15 @@ #include <osl/file.h> #include <sal/types.h> -#define OSL_FET_ERROR true - /** Translate errno's to osl file errors - @param [in] bIsError specifies if nErrno should be interpreted as error, - some libc functions signaling an error but errno is - nevertheless 0 in this case the function should at - least return osl_File_E_Unknown but in no case - osl_File_E_None! - @param [in] nErrno the errno if errno is 0 and bIsError is true the function returns osl_File_E_Unknown @returns the osl error code appropriate to the errno */ -oslFileError oslTranslateFileError(bool bIsError, int Errno); +oslFileError oslTranslateFileError(int Errno); #endif |