From 1577fc07bf0ae4780e4b1a6d411e680b389cd9b5 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 6 Dec 2014 07:33:40 -0600 Subject: apps/examples/ostest: Missing prototype for nsem_test() --- apps/examples/ostest/ostest.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps') diff --git a/apps/examples/ostest/ostest.h b/apps/examples/ostest/ostest.h index 71d71c03a..55da611d1 100644 --- a/apps/examples/ostest/ostest.h +++ b/apps/examples/ostest/ostest.h @@ -143,6 +143,10 @@ void sem_test(void); void semtimed_test(void); +/* nsem.c *******************************************************************/ + +void nsem_test(void); + /* cond.c *******************************************************************/ void cond_test(void); -- cgit v1.2.3 From d1e79a541190c2177a81d7f958417d257477a379 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 6 Dec 2014 09:14:55 -0600 Subject: apps/inifile: Filename parameter should be const --- apps/include/inifile.h | 2 +- apps/system/inifile/inifile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/include/inifile.h b/apps/include/inifile.h index d2b88794d..bc8ca3a20 100644 --- a/apps/include/inifile.h +++ b/apps/include/inifile.h @@ -76,7 +76,7 @@ extern "C" * ****************************************************************************/ -INIHANDLE inifile_initialize(FAR char *inifile_name); +INIHANDLE inifile_initialize(FAR const char *inifile_name); /**************************************************************************** * Name: inifile_uninitialize diff --git a/apps/system/inifile/inifile.c b/apps/system/inifile/inifile.c index d82c4f127..a7bb8c0b1 100644 --- a/apps/system/inifile/inifile.c +++ b/apps/system/inifile/inifile.c @@ -500,7 +500,7 @@ static FAR char *inifile_find_variable(FAR struct inifile_state_s *priv, * ****************************************************************************/ -INIHANDLE inifile_initialize(FAR char *inifile_name) +INIHANDLE inifile_initialize(FAR const char *inifile_name) { /* Allocate an INI file parser state structure */ -- cgit v1.2.3