summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl/rtl-error.h
diff options
context:
space:
mode:
authorPatrick Gauvin <gauvin@hcs.ufl.edu>2016-06-26 12:43:25 -0400
committerChris Johns <chrisj@rtems.org>2018-02-08 14:21:13 +1100
commita2a9751823d506ccd9cd4264fd2e97032d306cb5 (patch)
treee3067477cc1d8166f11a846a01b9b3f8acb9ea6a /cpukit/libdl/rtl-error.h
parenttestsuites/libtest: Set EXENT to .exe so executable are correctly named. (diff)
downloadrtems-a2a9751823d506ccd9cd4264fd2e97032d306cb5.tar.bz2
libdl: Clear error between dlerror invocations
Updates #2747
Diffstat (limited to '')
-rw-r--r--cpukit/libdl/rtl-error.h5
1 files changed, 5 insertions, 0 deletions
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 */