diff options
| author | Philipp Brueschweiler <blei42@gmail.com> | 2013-06-24 19:14:20 +0200 |
|---|---|---|
| committer | Philipp Brueschweiler <blei42@gmail.com> | 2013-06-24 19:14:20 +0200 |
| commit | f8ae3cdcaacb29c7b56e546a9ddab1396b615f8f (patch) | |
| tree | b530107ce29d40f8530718368052c7a0d46c0cf6 | |
| parent | ce888a505524937ca9aa91370e204bb28fe6ef7f (diff) | |
| download | rust-f8ae3cdcaacb29c7b56e546a9ddab1396b615f8f.tar.gz rust-f8ae3cdcaacb29c7b56e546a9ddab1396b615f8f.zip | |
Fix test failure on windows
This patch ensures that the multiple extern definitions of `free` in the run-pass tests have the same declaration, working around #7352.
| -rw-r--r-- | src/test/run-pass/extern-pub.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/run-pass/extern-pub.rs b/src/test/run-pass/extern-pub.rs index 2d6cc2c78de..27c45893930 100644 --- a/src/test/run-pass/extern-pub.rs +++ b/src/test/run-pass/extern-pub.rs @@ -1,7 +1,5 @@ -use std::libc; - extern { - pub unsafe fn free(p: *libc::c_void); + pub unsafe fn free(p: *u8); } pub fn main() { |
