about summary refs log tree commit diff
path: root/src/libnative/io
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-04-07 13:30:48 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-04-08 00:03:11 -0700
commitc3ea3e439fbc5251279d914a95cd8344556982cb (patch)
treec179b27b1d04dd7bfa17ab59b695c91fcd64320f /src/libnative/io
parentc83afb9719ad6e2ae7d819b8096524e1147c4065 (diff)
Register new snapshots
Diffstat (limited to 'src/libnative/io')
-rw-r--r--src/libnative/io/p0
-rw-r--r--src/libnative/io/process.rs4
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libnative/io/p b/src/libnative/io/p
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/src/libnative/io/p
diff --git a/src/libnative/io/process.rs b/src/libnative/io/process.rs
index d1edea4df71..d4ed52ef140 100644
--- a/src/libnative/io/process.rs
+++ b/src/libnative/io/process.rs
@@ -609,7 +609,7 @@ fn spawn_process_os(config: p::ProcessConfig,
 }
 
 #[cfg(unix)]
-fn with_argv<T>(prog: &str, args: &[~str], cb: proc:(**libc::c_char) -> T) -> T {
+fn with_argv<T>(prog: &str, args: &[~str], cb: proc(**libc::c_char) -> T) -> T {
     use std::slice;
 
     // We can't directly convert `str`s into `*char`s, as someone needs to hold
@@ -635,7 +635,7 @@ fn with_argv<T>(prog: &str, args: &[~str], cb: proc:(**libc::c_char) -> T) -> T
 }
 
 #[cfg(unix)]
-fn with_envp<T>(env: Option<~[(~str, ~str)]>, cb: proc:(*c_void) -> T) -> T {
+fn with_envp<T>(env: Option<~[(~str, ~str)]>, cb: proc(*c_void) -> T) -> T {
     use std::slice;
 
     // On posixy systems we can pass a char** for envp, which is a