summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-04-02 23:51:32 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-04-02 23:51:32 +0200
commitec6c082a03939d028f4135c5f8361a48956c9566 (patch)
tree6cb1ef5c206d49c2d57a5c542ac49698cd94af8e /src
parent0278c9fb57adf97cedf4a3bebc37c30371676872 (diff)
tab_insert() is static
Diffstat (limited to 'src')
-rw-r--r--src/godmode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/godmode.c b/src/godmode.c
index c97f4b1..94b88b2 100644
--- a/src/godmode.c
+++ b/src/godmode.c
@@ -67,7 +67,7 @@ static void warning_geometry_ncurses(disk_t *disk_car, const unsigned int recomm
static void ask_mbr_order_i386(disk_t *disk_car,list_part_t *list_part);
#endif
static list_part_t *add_ext_part_i386(disk_t *disk_car, list_part_t *list_part, const int max_ext, const int align,const int verbose);
-static unsigned int tab_insert(uint64_t *tab, uint64_t offset, unsigned int tab_nbr);
+static unsigned int tab_insert(uint64_t *tab, const uint64_t offset, unsigned int tab_nbr);
/* Optimization */
static inline uint64_t CHS2offset_inline(const disk_t *disk_car,const CHS_t*CHS);
static list_part_t *search_part(disk_t *disk_car, const list_part_t *list_part_org, const int verbose, const int dump_ind, const int fast_mode, const int interface, const int search_vista_part, char **current_cmd);
@@ -324,7 +324,7 @@ static void warning_geometry_ncurses(disk_t *disk_car, const unsigned int recomm
}
#endif
-static unsigned int tab_insert(uint64_t *tab, uint64_t offset, unsigned int tab_nbr)
+static unsigned int tab_insert(uint64_t *tab, const uint64_t offset, unsigned int tab_nbr)
{
if(tab_nbr<MAX_SEARCH_LOCATION-1)
{