Enable modlib_findsection

This fixes unused warning on modlib_findsection
This commit is contained in:
YAMAMOTO Takashi 2020-04-13 12:50:36 +09:00 committed by patacongo
parent 6f3e127094
commit 1adc44e059
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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