summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-06 07:05:54 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-06 07:05:54 +0000
commit46ae58a595a2b5c8e6bc4790da974a4fe08b21b1 (patch)
tree2747f18f14f0c225eb76abe76a942bd3c187316c /cpukit
parent2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-46ae58a595a2b5c8e6bc4790da974a4fe08b21b1.tar.bz2
2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/imfs_debug.c: Make IMFS_print_jnode, IMFS_dump_directory static. * libfs/src/imfs/memfile.c: Make memfile_free_blocks_in_table static.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog3
-rw-r--r--cpukit/libfs/src/imfs/imfs_debug.c4
-rw-r--r--cpukit/libfs/src/imfs/memfile.c2
3 files changed, 6 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 039b6f4a49..67ce6b729b 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,8 @@
2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * libfs/src/imfs/imfs_debug.c: Make IMFS_print_jnode,
+ IMFS_dump_directory static.
+ * libfs/src/imfs/memfile.c: Make memfile_free_blocks_in_table static.
* libcsupport/include/rtems/libio.h:
Make LIBIO_FLAGS_* defined unsigned (Avoid implicit sign
conversions).
diff --git a/cpukit/libfs/src/imfs/imfs_debug.c b/cpukit/libfs/src/imfs/imfs_debug.c
index 0a4e3a9bba..f8bdf1ce41 100644
--- a/cpukit/libfs/src/imfs/imfs_debug.c
+++ b/cpukit/libfs/src/imfs/imfs_debug.c
@@ -33,7 +33,7 @@
*
* This routine prints the contents of the specified jnode.
*/
-void IMFS_print_jnode(
+static void IMFS_print_jnode(
IMFS_jnode_t *the_jnode
)
{
@@ -98,7 +98,7 @@ void IMFS_print_jnode(
* directory is encountered, then this routine will recurse to process
* the subdirectory.
*/
-void IMFS_dump_directory(
+static void IMFS_dump_directory(
IMFS_jnode_t *the_directory,
int level
)
diff --git a/cpukit/libfs/src/imfs/memfile.c b/cpukit/libfs/src/imfs/memfile.c
index a85f475b78..35c1eee0ec 100644
--- a/cpukit/libfs/src/imfs/memfile.c
+++ b/cpukit/libfs/src/imfs/memfile.c
@@ -396,7 +396,7 @@ MEMFILE_STATIC int IMFS_memfile_remove_block(
* This is a support routine for IMFS_memfile_remove. It frees all the
* blocks in one of the indirection tables.
*/
-void memfile_free_blocks_in_table(
+static void memfile_free_blocks_in_table(
block_p **block_table,
int entries
)