diff options
author | Chris Johns <chrisj@rtems.org> | 2018-04-12 17:46:49 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2018-04-12 17:57:40 +1000 |
commit | f59d435d16261b04f97e293ab075e79624caf11d (patch) | |
tree | d37bc351bc95541388740069541f605af71203ff /cpukit/libdl/rtl-error.c | |
parent | testsuites/dl06: Add a test for RAP format. (diff) | |
download | rtems-f59d435d16261b04f97e293ab075e79624caf11d.tar.bz2 |
libdl: Remove _t from all structures as this is reserved for the standards
Diffstat (limited to 'cpukit/libdl/rtl-error.c')
-rw-r--r-- | cpukit/libdl/rtl-error.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libdl/rtl-error.c b/cpukit/libdl/rtl-error.c index 5638b88705..7b72c0a26d 100644 --- a/cpukit/libdl/rtl-error.c +++ b/cpukit/libdl/rtl-error.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 2012 Chris Johns <chrisj@rtems.org> + * COPYRIGHT (c) 2012-2018 Chris Johns <chrisj@rtems.org> * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at @@ -28,8 +28,8 @@ void rtems_rtl_set_error (int error, const char* format, ...) { - rtems_rtl_data_t* rtl = rtems_rtl_lock (); - va_list ap; + rtems_rtl_data* rtl = rtems_rtl_lock (); + va_list ap; va_start (ap, format); rtl->last_errno = error; vsnprintf (rtl->last_error, sizeof (rtl->last_error), format, ap); @@ -40,7 +40,7 @@ rtems_rtl_set_error (int error, const char* format, ...) int rtems_rtl_get_error (char* message, size_t max_message) { - rtems_rtl_data_t* rtl = rtems_rtl_lock (); + rtems_rtl_data* rtl = rtems_rtl_lock (); if (rtl != NULL) { int last_errno = rtl->last_errno; |