summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-11-12 16:46:09 +0000
committerbors <bors@rust-lang.org>2018-11-12 16:46:09 +0000
commit5cc006652a242c35b6fe5b615ccd39d9356a2346 (patch)
tree14d4a75bfd1114950c8f9a07bc6202b0123d5860 /src
parent5d3025b3c9545cafe143cca77b5206709ad97edc (diff)
parent9b74d9972b4f14804231da213fbb8392c3f54f50 (diff)
downloadrust-libc-5cc006652a242c35b6fe5b615ccd39d9356a2346.tar.gz
Auto merge of #1122 - gnzlbg:unused_macro, r=alexcrichton
the f macro is unused in some targets
Diffstat (limited to 'src')
-rw-r--r--src/macros.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/macros.rs b/src/macros.rs
index f48ad45941..5a468b59cb 100644
--- a/src/macros.rs
+++ b/src/macros.rs
@@ -48,6 +48,7 @@ macro_rules! s {
)*)
}
+#[allow(unused_macros)]
macro_rules! f {
($(pub fn $i:ident($($arg:ident: $argty:ty),*) -> $ret:ty {
$($body:stmt);*