diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-17 20:25:27 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-17 20:25:27 +0000 |
commit | d8ee4cfaf8afacfe8ff455900ed391af4f642888 (patch) | |
tree | d477c2d0bde57c71a78722de873a78b035357c75 /nuttx/binfmt/binfmt_unregister.c | |
parent | 7a34357c62dd8c1910f444d37f80ed18425b7fad (diff) | |
download | nuttx-d8ee4cfaf8afacfe8ff455900ed391af4f642888.tar.gz nuttx-d8ee4cfaf8afacfe8ff455900ed391af4f642888.tar.bz2 nuttx-d8ee4cfaf8afacfe8ff455900ed391af4f642888.zip |
Add exec_module
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1895 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt/binfmt_unregister.c')
-rw-r--r-- | nuttx/binfmt/binfmt_unregister.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/nuttx/binfmt/binfmt_unregister.c b/nuttx/binfmt/binfmt_unregister.c index 1eedffcfc..62c156a61 100644 --- a/nuttx/binfmt/binfmt_unregister.c +++ b/nuttx/binfmt/binfmt_unregister.c @@ -65,17 +65,22 @@ * Private Functions ****************************************************************************/ -/*********************************************************************** +/**************************************************************************** * Public Functions - ***********************************************************************/ + ****************************************************************************/ -/*********************************************************************** +/**************************************************************************** * Name: unregister_binfmt * * Description: * Register a loader for a binary format * - ***********************************************************************/ + * Returned Value: + * This is a NuttX internal function so it follows the convention that + * 0 (OK) is returned on success and a negated errno is returned on + * failure. + * + ****************************************************************************/ int unregister_binfmt(FAR struct binfmt_s *binfmt) { @@ -124,6 +129,7 @@ int unregister_binfmt(FAR struct binfmt_s *binfmt) sched_unlock(); } + return ret; } |