fix prototypes
This commit is contained in:
parent
942ef34fb9
commit
930438eb80
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
# $Dwarf: safe_mv,v 1.4 2002/10/26 17:18:46 ward Exp $
|
# $Dwarf: safe_mv,v 1.5 2002/10/26 20:20:00 ward Exp $
|
||||||
# $Source$
|
# $Source$
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
@ -38,7 +38,7 @@ sub process {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub compare($source, $target) {
|
sub compare($$) {
|
||||||
my ($source_size, $target_size);
|
my ($source_size, $target_size);
|
||||||
my (@source_stat, @target_stat);
|
my (@source_stat, @target_stat);
|
||||||
print "Comparing... ";
|
print "Comparing... ";
|
||||||
|
|
@ -68,7 +68,7 @@ sub compare($source, $target) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub calc_md5($file) {
|
sub calc_md5($) {
|
||||||
my ($file, $digest);
|
my ($file, $digest);
|
||||||
$file = shift;
|
$file = shift;
|
||||||
$md5 = Digest::MD5->new;
|
$md5 = Digest::MD5->new;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue