summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtl/rtl-sym.h
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/include/rtems/rtl/rtl-sym.h
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/include/rtems/rtl/rtl-sym.h')
-rw-r--r--cpukit/include/rtems/rtl/rtl-sym.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/cpukit/include/rtems/rtl/rtl-sym.h b/cpukit/include/rtems/rtl/rtl-sym.h
index fe00da89d7..be246a908d 100644
--- a/cpukit/include/rtems/rtl/rtl-sym.h
+++ b/cpukit/include/rtems/rtl/rtl-sym.h
@@ -1,5 +1,5 @@
/*
- * COPYRIGHT (c) 2012-2014 Chris Johns <chrisj@rtems.org>
+ * COPYRIGHT (c) 2012-2014, 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
@@ -26,22 +26,22 @@ extern "C" {
/**
* An object file symbol.
*/
-typedef struct rtems_rtl_obj_sym_s
+typedef struct rtems_rtl_obj_sym
{
rtems_chain_node node; /**< The node's link in the chain. */
const char* name; /**< The symbol's name. */
void* value; /**< The value of the symbol. */
uint32_t data; /**< Format specific data. */
-} rtems_rtl_obj_sym_t;
+} rtems_rtl_obj_sym;
/**
* Table of symbols stored in a hash table.
*/
-typedef struct rtems_rtl_symbols_s
+typedef struct rtems_rtl_symbols
{
rtems_chain_control* buckets;
size_t nbuckets;
-} rtems_rtl_symbols_t;
+} rtems_rtl_symbols;
/**
* Open a symbol table with the specified number of buckets.
@@ -52,15 +52,15 @@ typedef struct rtems_rtl_symbols_s
* @retval false The symbol table could not created. The RTL
* error has the error.
*/
-bool rtems_rtl_symbol_table_open (rtems_rtl_symbols_t* symbols,
- size_t buckets);
+bool rtems_rtl_symbol_table_open (rtems_rtl_symbols* symbols,
+ size_t buckets);
/**
* Close the table and erase the hash table.
*
* @param symbols Close the symbol table.
*/
-void rtems_rtl_symbol_table_close (rtems_rtl_symbols_t* symbols);
+void rtems_rtl_symbol_table_close (rtems_rtl_symbols* symbols);
/**
* Add a table of exported symbols to the symbol table.
@@ -83,7 +83,7 @@ void rtems_rtl_symbol_table_close (rtems_rtl_symbols_t* symbols);
* @param esyms The exported symbol table.
* @param size The size of the table in bytes.
*/
-bool rtems_rtl_symbol_global_add (rtems_rtl_obj_t* obj,
+bool rtems_rtl_symbol_global_add (rtems_rtl_obj* obj,
const unsigned char* esyms,
unsigned int size);
@@ -94,7 +94,7 @@ bool rtems_rtl_symbol_global_add (rtems_rtl_obj_t* obj,
* @retval NULL No symbol found.
* @return rtems_rtl_obj_sym_t* Reference to the symbol.
*/
-rtems_rtl_obj_sym_t* rtems_rtl_symbol_global_find (const char* name);
+rtems_rtl_obj_sym* rtems_rtl_symbol_global_find (const char* name);
/**
* Find a symbol given the symbol label in the local object file.
@@ -104,29 +104,29 @@ rtems_rtl_obj_sym_t* rtems_rtl_symbol_global_find (const char* name);
* @retval NULL No symbol found.
* @return rtems_rtl_obj_sym_t* Reference to the symbol.
*/
-rtems_rtl_obj_sym_t* rtems_rtl_symbol_obj_find (rtems_rtl_obj_t* obj,
- const char* name);
+rtems_rtl_obj_sym* rtems_rtl_symbol_obj_find (rtems_rtl_obj* obj,
+ const char* name);
/**
* Add the object file's symbols to the global table.
*
* @param obj The object file the symbols are to be added.
*/
-void rtems_rtl_symbol_obj_add (rtems_rtl_obj_t* obj);
+void rtems_rtl_symbol_obj_add (rtems_rtl_obj* obj);
/**
* Erase the object file's local symbols.
*
* @param obj The object file the local symbols are to be erased from.
*/
-void rtems_rtl_symbol_obj_erase_local (rtems_rtl_obj_t* obj);
+void rtems_rtl_symbol_obj_erase_local (rtems_rtl_obj* obj);
/**
* Erase the object file's symbols.
*
* @param obj The object file the symbols are to be erased from.
*/
-void rtems_rtl_symbol_obj_erase (rtems_rtl_obj_t* obj);
+void rtems_rtl_symbol_obj_erase (rtems_rtl_obj* obj);
#ifdef __cplusplus
}