chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e20124
)
use c_int from std::os::raw
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 27 Sep 2022 21:16:59 +0000
(22:16 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 27 Sep 2022 21:16:59 +0000
(22:16 +0100)
The entry in std:ffi is MSRV 1.64 which is rather new!
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
server/daemon.rs
patch
|
blob
|
history
diff --git
a/server/daemon.rs
b/server/daemon.rs
index c2b39a4ebd17158c671b9387c58a59a4edc33899..c5f6155fb36c482a0c465ab25631e50a528b7309 100644
(file)
--- a/
server/daemon.rs
+++ b/
server/daemon.rs
@@
-3,8
+3,9
@@
// There is NO WARRANTY.
use std::convert::TryInto;
-use std::ffi::
{c_int, CStr}
;
+use std::ffi::
CStr
;
use std::io::IoSlice;
+use std::os::raw::c_int;
use std::os::unix::io::RawFd;
use std::slice;
use std::str;