mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
79313980dd
commit
a03063bf1a
5 changed files with 31 additions and 10 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue