Francois Gouget : winetest: Add prototypes to the functions.

Alexandre Julliard julliard at winehq.org
Fri Mar 14 12:15:17 CDT 2008


Module: tools
Branch: master
Commit: 146a6e063c59d45a8f7c62e553e6c1837a9dc93f
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=146a6e063c59d45a8f7c62e553e6c1837a9dc93f

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Mar 14 17:23:05 2008 +0100

winetest: Add prototypes to the functions.

---

 winetest/dissect |    2 +-
 winetest/gather  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/winetest/dissect b/winetest/dissect
index 5f48f9e..b5ea968 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -37,7 +37,7 @@ use Errno qw/ENOTEMPTY/;
 
 my ($report, $tmpdir);
 
-sub mydie {
+sub mydie($) {
     my $errdir = tempdir ("errXXXXX", DIR => $queuedir);
     if (!rename $tmpdir, $errdir) {
         print "can't rename $tmpdir to $errdir: $!\n";
diff --git a/winetest/gather b/winetest/gather
index e93e34c..80aec78 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -268,7 +268,7 @@ $header
 EOF
 
 # Output a single cell of a test
-sub singletest {
+sub singletest($$$) {
     my ($test, $testname, $groupname) = @_;
     my $file = "$test->{dir}/$testname.txt";
     my ($count, $todo, $error, $skipped) = @{$test->{results}->{$testname}};




More information about the wine-cvs mailing list