Clean-up up some warning

This commit is contained in:
Gregory Nutt
2014-07-11 11:58:46 -06:00
parent 68b667c053
commit 2dd9ce50c8
4 changed files with 26 additions and 11 deletions
+8 -4
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* include/nuttx/binfmt/binfmt.h
*
* Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved.
* Copyright (C) 2009, 2012, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -286,9 +286,13 @@ int schedule_unload(pid_t pid, FAR struct binary_s *bin);
*
* Description:
* This is a convenience function that wraps load_ and exec_module into
* one call. If CONFIG_SCHED_ONEXIT is also defined, this function will
* automatically call schedule_unload() to unload the module when task
* exits.
* one call. If CONFIG_SCHED_ONEXIT and CONFIG_SCHED_HAVE_PARENT are
* also defined, this function will automatically call schedule_unload()
* to unload the module when task exits.
*
* NOTE: This function is flawed and useless without CONFIG_SCHED_ONEXIT
* and CONFIG_SCHED_HAVE_PARENT because there is then no mechanism to
* unload the module once it exits.
*
* Input Parameter:
* filename - Fulll path to the binary to be loaded