Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
liblibc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
redox-os
liblibc
Commits
9b43adea
Commit
9b43adea
authored
May 01, 2019
by
Alex Gaynor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oops, move this outside the s! block
parent
53591a69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
src/unix/notbsd/linux/other/mod.rs
src/unix/notbsd/linux/other/mod.rs
+13
-13
No files found.
src/unix/notbsd/linux/other/mod.rs
View file @
9b43adea
...
...
@@ -61,19 +61,6 @@ s! {
_
align
:
[
usize
;
0
],
}
impl
siginfo_t
{
pub
unsafe
fn
si_addr
(
&
self
)
->
*
mut
::
c_void
{
#[repr(C)]
struct
siginfo_sigfault
{
_
si_signo
:
::
c_int
,
_
si_errno
:
::
c_int
,
_
si_code
:
::
c_int
,
si_addr
:
*
mut
::
c_void
}
(
*
(
self
as
*
const
siginfo_t
as
*
const
siginfo_sigfault
))
.si_addr
}
}
pub
struct
glob64_t
{
pub
gl_pathc
:
::
size_t
,
pub
gl_pathv
:
*
mut
*
mut
::
c_char
,
...
...
@@ -213,6 +200,19 @@ s! {
}
}
impl
siginfo_t
{
pub
unsafe
fn
si_addr
(
&
self
)
->
*
mut
::
c_void
{
#[repr(C)]
struct
siginfo_sigfault
{
_
si_signo
:
::
c_int
,
_
si_errno
:
::
c_int
,
_
si_code
:
::
c_int
,
si_addr
:
*
mut
::
c_void
}
(
*
(
self
as
*
const
siginfo_t
as
*
const
siginfo_sigfault
))
.si_addr
}
}
s_no_extra_traits!
{
pub
struct
utmpx
{
pub
ut_type
:
::
c_short
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment