summaryrefslogtreecommitdiffstats
path: root/src/bsd.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/bsd.c
parent630a6ef2d6d2daf654cfe5aac9c39b78b275b70e (diff)
Defined more functions as static
Diffstat (limited to 'src/bsd.c')
-rw-r--r--src/bsd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bsd.c b/src/bsd.c
index 587ea05..9c01386 100644
--- a/src/bsd.c
+++ b/src/bsd.c
@@ -2,7 +2,7 @@
File: bsd.c
- Copyright (C) 1998-2006 Christophe GRENIER <grenier@cgsecurity.org>
+ Copyright (C) 1998-2006,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
@@ -33,6 +33,7 @@
#include "intrf.h"
#include "fnctdsk.h"
#include "log.h"
+static int test_BSD(disk_t *disk_car, const struct disklabel*bsd_header,partition_t *partition,const int verbose, const int dump_ind, const unsigned int max_partitions);
int check_BSD(disk_t *disk_car,partition_t *partition,const int verbose, const unsigned int max_partitions)
{
@@ -53,7 +54,7 @@ int check_BSD(disk_t *disk_car,partition_t *partition,const int verbose, const u
return 0;
}
-int test_BSD(disk_t *disk_car, const struct disklabel*bsd_header,partition_t *partition,const int verbose, const int dump_ind, const unsigned int max_partitions)
+static int test_BSD(disk_t *disk_car, const struct disklabel*bsd_header,partition_t *partition,const int verbose, const int dump_ind, const unsigned int max_partitions)
{
if((le32(bsd_header->d_magic) == DISKMAGIC)&&
(le32(bsd_header->d_magic2)==DISKMAGIC))