Enable modlib_findsection
This fixes unused warning on modlib_findsection
This commit is contained in:
parent
6f3e127094
commit
1adc44e059
@ -157,10 +157,8 @@ int modlib_loadshdrs(FAR struct mod_loadinfo_s *loadinfo);
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#if 0 /* Not used */
|
|
||||||
int modlib_findsection(FAR struct mod_loadinfo_s *loadinfo,
|
int modlib_findsection(FAR struct mod_loadinfo_s *loadinfo,
|
||||||
FAR const char *sectname);
|
FAR const char *sectname);
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: modlib_allocbuffer
|
* Name: modlib_allocbuffer
|
||||||
|
@ -240,7 +240,6 @@ int modlib_loadshdrs(FAR struct mod_loadinfo_s *loadinfo)
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#if 0 /* Not used */
|
|
||||||
int modlib_findsection(FAR struct mod_loadinfo_s *loadinfo,
|
int modlib_findsection(FAR struct mod_loadinfo_s *loadinfo,
|
||||||
FAR const char *sectname)
|
FAR const char *sectname)
|
||||||
{
|
{
|
||||||
@ -281,4 +280,3 @@ int modlib_findsection(FAR struct mod_loadinfo_s *loadinfo,
|
|||||||
|
|
||||||
return -ENOENT;
|
return -ENOENT;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user