summaryrefslogtreecommitdiff
path: root/src/macros.rs
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-02-18 22:56:19 +0100
committergnzlbg <gonzalobg88@gmail.com>2019-02-20 11:21:38 +0100
commit9a1d1f644543aacee6bf8c8476b12d7e41d9d545 (patch)
tree49a2c760f84a20120bcc51d2194479491ea273be /src/macros.rs
parent971027d5358aa034be9230fcd4c1ae981a32f5b5 (diff)
downloadrust-libc-9a1d1f644543aacee6bf8c8476b12d7e41d9d545.tar.gz
Remove more documentation cruft
Diffstat (limited to 'src/macros.rs')
-rw-r--r--src/macros.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/macros.rs b/src/macros.rs
index af7bbdd37b..c48ae8bc40 100644
--- a/src/macros.rs
+++ b/src/macros.rs
@@ -124,16 +124,9 @@ macro_rules! f {
$($body:stmt);*
})*) => ($(
#[inline]
- #[cfg(not(cross_platform_docs))]
pub unsafe extern fn $i($($arg: $argty),*) -> $ret {
$($body);*
}
-
- #[cfg(cross_platform_docs)]
- #[allow(dead_code)]
- pub unsafe extern fn $i($($arg: $argty),*) -> $ret {
- loop {}
- }
)*)
}