summaryrefslogtreecommitdiffstats
path: root/src/swap.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/swap.c
parent630a6ef2d6d2daf654cfe5aac9c39b78b275b70e (diff)
Defined more functions as static
Diffstat (limited to 'src/swap.c')
-rw-r--r--src/swap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/swap.c b/src/swap.c
index ea71d57..e715423 100644
--- a/src/swap.c
+++ b/src/swap.c
@@ -2,7 +2,7 @@
File: swap.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
@@ -35,6 +35,7 @@
#include "swap.h"
#include "fnctdsk.h"
static int set_Linux_SWAP_info(const union swap_header *swap_header,partition_t *partition);
+static int test_Linux_SWAP(disk_t *disk_car, const union swap_header *swap_header,partition_t *partition,const int verbose, const int dump_ind);
int check_Linux_SWAP(disk_t *disk_car,partition_t *partition,const int verbose)
{
@@ -73,7 +74,7 @@ static int set_Linux_SWAP_info(const union swap_header *swap_header,partition_t
return 0;
}
-int test_Linux_SWAP(disk_t *disk_car, const union swap_header *swap_header,partition_t *partition,const int verbose, const int dump_ind)
+static int test_Linux_SWAP(disk_t *disk_car, const union swap_header *swap_header,partition_t *partition,const int verbose, const int dump_ind)
{
if(memcmp(swap_header->magic.magic,"SWAP-SPACE",10)==0)
{