mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Avoid compiler warnings for unused functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17386 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
042e827284
commit
ed7fc4f34a
5 changed files with 31 additions and 10 deletions
|
@ -92,8 +92,13 @@ __objc_dynamic_link(const char* module, int mode, const char* debug_file)
|
|||
}
|
||||
|
||||
/* Return the address of a symbol given by the name 'symbol' from the module
|
||||
associated with 'handle'
|
||||
*/
|
||||
* associated with 'handle'
|
||||
* This function is not always used, so we mark it as unused to avoid warnings.
|
||||
*/
|
||||
static dl_symbol_t
|
||||
__objc_dynamic_find_symbol(dl_handle_t handle, const char* symbol)
|
||||
__attribute__((unused));
|
||||
|
||||
static dl_symbol_t
|
||||
__objc_dynamic_find_symbol(dl_handle_t handle, const char* symbol)
|
||||
{
|
||||
|
|
|
@ -39,8 +39,12 @@ __objc_dynamic_link(const char* module, int mode, const char* debug_file)
|
|||
}
|
||||
|
||||
/* Return the address of a symbol given by the name 'symbol' from the module
|
||||
associated with 'handle'
|
||||
*/
|
||||
* associated with 'handle'
|
||||
* This function is not always used, so we mark it as unused to avoid warnings.
|
||||
*/
|
||||
static dl_symbol_t
|
||||
__objc_dynamic_find_symbol(dl_handle_t handle, const char* symbol)
|
||||
__attribute__((unused));
|
||||
static dl_symbol_t
|
||||
__objc_dynamic_find_symbol(dl_handle_t handle, const char* symbol)
|
||||
{
|
||||
|
|
|
@ -33,8 +33,12 @@ __objc_dynamic_link(const char* module, int mode, const char* debug_file)
|
|||
}
|
||||
|
||||
/* Return the address of a symbol given by the name 'symbol' from the module
|
||||
associated with 'handle'
|
||||
*/
|
||||
* associated with 'handle'
|
||||
* This function is not always used, so we mark it as unused to avoid warnings.
|
||||
*/
|
||||
static dl_symbol_t
|
||||
__objc_dynamic_find_symbol(dl_handle_t handle, const char* symbol)
|
||||
__attribute__((unused));
|
||||
static dl_symbol_t
|
||||
__objc_dynamic_find_symbol(dl_handle_t handle, const char* symbol)
|
||||
{
|
||||
|
|
|
@ -47,8 +47,12 @@ __objc_dynamic_link(const char* module, int mode, const char* debug_file)
|
|||
}
|
||||
|
||||
/* Return the address of a symbol given by the name 'symbol' from the module
|
||||
associated with 'handle'
|
||||
*/
|
||||
* associated with 'handle'
|
||||
* This function is not always used, so we mark it as unused to avoid warnings.
|
||||
*/
|
||||
static dl_symbol_t
|
||||
__objc_dynamic_find_symbol(dl_handle_t handle, const char* symbol)
|
||||
__attribute__((unused));
|
||||
static dl_symbol_t
|
||||
__objc_dynamic_find_symbol(dl_handle_t handle, const char* symbol)
|
||||
{
|
||||
|
|
|
@ -37,8 +37,12 @@ __objc_dynamic_link(const char* module, int mode, const char* debug_file)
|
|||
}
|
||||
|
||||
/* Return the address of a symbol given by the name 'symbol' from the module
|
||||
associated with 'handle'
|
||||
*/
|
||||
* associated with 'handle'
|
||||
* This function is not always used, so we mark it as unused to avoid warnings.
|
||||
*/
|
||||
static dl_symbol_t
|
||||
__objc_dynamic_find_symbol(dl_handle_t handle, const char* symbol)
|
||||
__attribute__((unused));
|
||||
static dl_symbol_t
|
||||
__objc_dynamic_find_symbol(dl_handle_t handle, const char* symbol)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue