From a2a9751823d506ccd9cd4264fd2e97032d306cb5 Mon Sep 17 00:00:00 2001 From: Patrick Gauvin Date: Sun, 26 Jun 2016 12:43:25 -0400 Subject: libdl: Clear error between dlerror invocations Updates #2747 --- cpukit/libdl/rtl-error.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpukit/libdl/rtl-error.h') diff --git a/cpukit/libdl/rtl-error.h b/cpukit/libdl/rtl-error.h index 0badf51e21..f1cf4ea72c 100644 --- a/cpukit/libdl/rtl-error.h +++ b/cpukit/libdl/rtl-error.h @@ -37,6 +37,11 @@ extern "C" { */ void rtems_rtl_set_error (int error, const char* format, ...) RTEMS_RTL_PRINTF_ATTR; +/** + * Clears the error. + */ +void rtems_rtl_clear_error (void); + #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.3