summaryrefslogtreecommitdiffstats
path: root/cpukit/libdl/rtl-obj-comp.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-04-12 17:46:49 +1000
committerChris Johns <chrisj@rtems.org>2018-04-12 17:57:40 +1000
commitf59d435d16261b04f97e293ab075e79624caf11d (patch)
treed37bc351bc95541388740069541f605af71203ff /cpukit/libdl/rtl-obj-comp.c
parenttestsuites/dl06: Add a test for RAP format. (diff)
downloadrtems-f59d435d16261b04f97e293ab075e79624caf11d.tar.bz2
libdl: Remove _t from all structures as this is reserved for the standards
Diffstat (limited to 'cpukit/libdl/rtl-obj-comp.c')
-rw-r--r--cpukit/libdl/rtl-obj-comp.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/cpukit/libdl/rtl-obj-comp.c b/cpukit/libdl/rtl-obj-comp.c
index c49f614368..bf9a2fc45f 100644
--- a/cpukit/libdl/rtl-obj-comp.c
+++ b/cpukit/libdl/rtl-obj-comp.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
@@ -31,8 +31,8 @@
#include <stdio.h>
bool
-rtems_rtl_obj_comp_open (rtems_rtl_obj_comp_t* comp,
- size_t size)
+rtems_rtl_obj_comp_open (rtems_rtl_obj_comp* comp,
+ size_t size)
{
comp->cache = NULL;
comp->fd = -1;
@@ -51,7 +51,7 @@ rtems_rtl_obj_comp_open (rtems_rtl_obj_comp_t* comp,
}
void
-rtems_rtl_obj_comp_close (rtems_rtl_obj_comp_t* comp)
+rtems_rtl_obj_comp_close (rtems_rtl_obj_comp* comp)
{
rtems_rtl_alloc_del (RTEMS_RTL_ALLOC_OBJECT, comp->buffer);
comp->cache = NULL;
@@ -64,11 +64,11 @@ rtems_rtl_obj_comp_close (rtems_rtl_obj_comp_t* comp)
}
void
-rtems_rtl_obj_comp_set (rtems_rtl_obj_comp_t* comp,
- rtems_rtl_obj_cache_t* cache,
- int fd,
- int compression,
- off_t offset)
+rtems_rtl_obj_comp_set (rtems_rtl_obj_comp* comp,
+ rtems_rtl_obj_cache* cache,
+ int fd,
+ int compression,
+ off_t offset)
{
comp->cache = cache;
comp->fd = fd;
@@ -79,9 +79,9 @@ rtems_rtl_obj_comp_set (rtems_rtl_obj_comp_t* comp,
}
bool
-rtems_rtl_obj_comp_read (rtems_rtl_obj_comp_t* comp,
- void* buffer,
- size_t length)
+rtems_rtl_obj_comp_read (rtems_rtl_obj_comp* comp,
+ void* buffer,
+ size_t length)
{
uint8_t* bin = buffer;