Skip to content

Commit 078fff6

Browse files
committed
Add all now needed ';' after macro invocations.
1 parent 6485539 commit 078fff6

File tree

9 files changed

+16
-16
lines changed

9 files changed

+16
-16
lines changed

src/fcntl.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ mod consts {
147147
const O_TMPFILE = 0o20000000,
148148
const O_NDELAY = O_NONBLOCK.bits
149149
}
150-
)
150+
);
151151

152152
bitflags!(
153153
flags FdFlag: c_int {
154154
const FD_CLOEXEC = 1
155155
}
156-
)
156+
);
157157
}
158158

159159
#[cfg(any(target_os = "macos", target_os = "ios"))]
@@ -180,11 +180,11 @@ mod consts {
180180
const O_NDELAY = O_NONBLOCK.bits,
181181
const O_FSYNC = O_SYNC.bits
182182
}
183-
)
183+
);
184184

185185
bitflags!(
186186
flags FdFlag: c_int {
187187
const FD_CLOEXEC = 1
188188
}
189-
)
189+
);
190190
}

src/mount.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ bitflags!(
4040
const MS_MGC_VAL = 0xC0ED0000,
4141
const MS_MGC_MSK = 0xffff0000
4242
}
43-
)
43+
);
4444

4545
bitflags!(
4646
flags MntFlags: c_int {
4747
const MNT_FORCE = 1 << 0,
4848
const MNT_DETATCH = 1 << 1,
4949
const MNT_EXPIRE = 1 << 2
5050
}
51-
)
51+
);
5252

5353
mod ffi {
5454
use libc::{c_char, c_int, c_void, c_ulong};

src/sys/epoll.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ bitflags!(
3232
const EPOLLONESHOT = 1 << 30,
3333
const EPOLLET = 1 << 31
3434
}
35-
)
35+
);
3636

3737
impl fmt::Show for EpollEventKind {
3838
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {

src/sys/event.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ bitflags!(
7272
const EV_EOF = 0x8000,
7373
const EV_ERROR = 0x4000
7474
}
75-
)
75+
);
7676

7777
impl fmt::Show for EventFlag {
7878
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
@@ -153,7 +153,7 @@ bitflags!(
153153
const NOTE_TRACKERR = 0x00000002,
154154
const NOTE_CHILD = 0x00000004
155155
}
156-
)
156+
);
157157

158158
pub const EV_POLL: EventFlag = EV_FLAG0;
159159
pub const EV_OOBAND: EventFlag = EV_FLAG1;

src/sys/eventfd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ bitflags!(
99
const EFD_NONBLOCK = 0o0004000, // Since Linux 2.6.27
1010
const EFD_SEMAPHORE = 0o0000001, // Since Linux 2.6.30
1111
}
12-
)
12+
);
1313

1414
pub fn eventfd(initval: uint, flags: EventFdFlag) -> SysResult<Fd> {
1515
type F = unsafe extern "C" fn(initval: c_uint, flags: c_int) -> c_int;

src/sys/signal.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub mod signal {
6565
const SA_RESTART = 0x10000000,
6666
const SA_SIGINFO = 0x00000004,
6767
}
68-
)
68+
);
6969

7070
pub const SIGTRAP: libc::c_int = 5;
7171
pub const SIGIOT: libc::c_int = 6;
@@ -144,7 +144,7 @@ pub mod signal {
144144
const SA_RESTART = 0x10000000,
145145
const SA_SIGINFO = 0x00000008,
146146
}
147-
)
147+
);
148148

149149
pub const SIGTRAP: libc::c_int = 5;
150150
pub const SIGIOT: libc::c_int = 6;
@@ -214,7 +214,7 @@ pub mod signal {
214214
const SA_RESTART = 0x0002,
215215
const SA_SIGINFO = 0x0040,
216216
}
217-
)
217+
);
218218

219219
pub const SIGTRAP: libc::c_int = 5;
220220
pub const SIGIOT: libc::c_int = 6;

src/sys/socket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ bitflags!(
2929
const SOCK_NONBLOCK = 0o0004000,
3030
const SOCK_CLOEXEC = 0o2000000
3131
}
32-
)
32+
);
3333

3434
#[deriving(Copy)]
3535
pub enum SockAddr {

src/sys/stat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ bitflags!(
2727
const S_IFIFO = 0o010000,
2828
const S_IFSOCK = 0o140000
2929
}
30-
)
30+
);
3131

3232
impl fmt::Show for SFlag {
3333
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {

src/sys/wait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bitflags!(
1313
flags WaitPidFlag: c_int {
1414
const WNOHANG = 0x00000001,
1515
}
16-
)
16+
);
1717

1818
#[deriving(Copy)]
1919
pub enum WaitStatus {

0 commit comments

Comments
 (0)