This patch fixes following compilation errors:
make[2]: Entering directory `/home/ebsong/tizenrt/apps/examples/proc_test'
CC: proc_test_main.c
proc_test_main.c:301:5: error: function declaration isn't a prototype [-Werror=strict-prototypes]
int proc_uptime_test()
^
proc_test_main.c:323:5: error: function declaration isn't a prototype [-Werror=strict-prototypes]
int proc_version_test()
^
proc_test_main.c: In function 'proc_test_main':
proc_test_main.c:361:18: error: unused variable 'filesystem' [-Werror=unused-variable]
FAR const char *filesystem = NULL;
^
cc1: all warnings being treated as errors
Change-Id: I011224ee72aac4d04e30fd2ebeb73dc6ce99f3bd
Signed-off-by: EunBong Song <eunb.song@samsung.com>
#endif
#ifndef CONFIG_FS_PROCFS_EXCLUDE_UPTIME
-int proc_uptime_test()
+int proc_uptime_test(void)
{
char *filepath = NULL;
int ret;
#endif
#ifndef CONFIG_FS_PROCFS_EXCLUDE_VERSION
-int proc_version_test()
+int proc_version_test(void)
{
char *filepath = NULL;
int ret;
int proc_test_main(int argc, char *argv[])
#endif
{
- FAR const char *filesystem = NULL;
int ret;
printf("Proc Test START!!\n");