diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-07-18 19:08:57 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-07-20 17:39:38 -0700 |
| commit | 06594ed96bae46cca494dc456ddffcd403efbd8e (patch) | |
| tree | eed1f082bdb199c70c146d3b59b83363df15ce98 /src/libstd/sys.rs | |
| parent | bb8ca1f52cfa59e0040c2c749a1c46048fc6d48d (diff) | |
| download | rust-06594ed96bae46cca494dc456ddffcd403efbd8e.tar.gz rust-06594ed96bae46cca494dc456ddffcd403efbd8e.zip | |
librustc: Remove `pub extern` and `priv extern` from the language.
Place `pub` or `priv` on individual items instead.
Diffstat (limited to 'src/libstd/sys.rs')
| -rw-r--r-- | src/libstd/sys.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/sys.rs b/src/libstd/sys.rs index 9f72f941bde..d50d90376ab 100644 --- a/src/libstd/sys.rs +++ b/src/libstd/sys.rs @@ -30,11 +30,11 @@ pub struct Closure { pub mod rustrt { use libc::{c_char, size_t}; - pub extern { + extern { #[rust_stack] - unsafe fn rust_upcall_fail(expr: *c_char, - file: *c_char, - line: size_t); + pub unsafe fn rust_upcall_fail(expr: *c_char, + file: *c_char, + line: size_t); } } |
