summaryrefslogtreecommitdiffstats
path: root/src/jfs.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-11-10 08:12:15 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-11-10 08:12:15 +0100
commit3707225caf554891fed4261fef74441e9bd74345 (patch)
tree8be6284afd61cb8619cf2cefd94b18b07eaae77a /src/jfs.c
parent630a6ef2d6d2daf654cfe5aac9c39b78b275b70e (diff)
Defined more functions as static
Diffstat (limited to 'src/jfs.c')
-rw-r--r--src/jfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jfs.c b/src/jfs.c
index 8fe2655..202fa41 100644
--- a/src/jfs.c
+++ b/src/jfs.c
@@ -2,7 +2,7 @@
File: jfs.c
- Copyright (C) 2004-2007 Christophe GRENIER <grenier@cgsecurity.org>
+ Copyright (C) 2004-2008 Christophe GRENIER <grenier@cgsecurity.org>
This software is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -38,6 +38,7 @@
#include "guid_cpy.h"
static int test_JFS(disk_t *disk_car, const struct jfs_superblock *sb,partition_t *partition,const int verbose, const int dump_ind);
+static int set_JFS_info(disk_t *disk_car, const struct jfs_superblock *sb,partition_t *partition,const int verbose, const int dump_ind);
int check_JFS(disk_t *disk_car,partition_t *partition,const int verbose)
{
@@ -57,7 +58,7 @@ int check_JFS(disk_t *disk_car,partition_t *partition,const int verbose)
return 0;
}
-int set_JFS_info(disk_t *disk_car, const struct jfs_superblock *sb,partition_t *partition,const int verbose, const int dump_ind)
+static int set_JFS_info(disk_t *disk_car, const struct jfs_superblock *sb,partition_t *partition,const int verbose, const int dump_ind)
{
snprintf(partition->info,sizeof(partition->info),"JFS %u",(unsigned int)le32(sb->s_version));
partition->fsname[0]='\0';