From 46ae58a595a2b5c8e6bc4790da974a4fe08b21b1 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 6 Dec 2011 07:05:54 +0000 Subject: =?UTF-8?q?2011-12-06=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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. --- cpukit/ChangeLog | 3 +++ cpukit/libfs/src/imfs/imfs_debug.c | 4 ++-- cpukit/libfs/src/imfs/memfile.c | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'cpukit') 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 + * 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 ) -- cgit v1.2.3