Update of /cvsroot/ext2resize/ext2resize/src
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17861
Modified Files:
ext2prepare.c
Log Message:
Make internal functions static.
Index: ext2prepare.c
===================================================================
RCS file: /cvsroot/ext2resize/ext2resize/src/ext2prepare.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** ext2prepare.c 10 Jun 2006 06:45:22 -0000 1.20
--- ext2prepare.c 10 Jun 2006 07:15:24 -0000 1.21
***************
*** 41,45 ****
#define EXT2_IND_CHANGED 2
! void usage(FILE *outfile, char *progname)
{
fprintf(outfile,
--- 41,45 ----
#define EXT2_IND_CHANGED 2
! static void usage(FILE *outfile, char *progname)
{
fprintf(outfile,
***************
*** 56,60 ****
}
! void parse_args(int *argc, char **argv[], int *flags)
{
static struct option long_options[] = {
--- 56,60 ----
}
! static void parse_args(int *argc, char **argv[], int *flags)
{
static struct option long_options[] = {
***************
*** 90,94 ****
* Ensure it isn't in the range where we may need to move GDT blocks later.
*/
! int check_inode_ind(struct ext2_fs *fs, blk_t *block, __u32 *blocks)
{
blk_t i, offset;
--- 90,94 ----
* Ensure it isn't in the range where we may need to move GDT blocks later.
*/
! static int check_inode_ind(struct ext2_fs *fs, blk_t *block, __u32 *blocks)
{
blk_t i, offset;
***************
*** 128,132 ****
}
! int create_resize_inode(struct ext2_fs *fs)
{
struct ext2_inode tmp;
--- 128,132 ----
}
! static int create_resize_inode(struct ext2_fs *fs)
{
struct ext2_inode tmp;
***************
*** 188,192 ****
! int ext2_prepare_fs(struct ext2_fs *fs)
{
int status;
--- 188,192 ----
! static int ext2_prepare_fs(struct ext2_fs *fs)
{
int status;
|