Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
ece1cbc5
Commit
ece1cbc5
authored
Aug 31, 2016
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: arch-wrs: remove warnings
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
6844adba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
minipc-core.c
arch-wrs/mini-rpc/minipc-core.c
+2
-3
No files found.
arch-wrs/mini-rpc/minipc-core.c
View file @
ece1cbc5
...
...
@@ -148,7 +148,7 @@ void __minipc_child(void *addr, int fd, int flags)
/* helper function for memory-based channels */
static
struct
mpc_link
*
__minipc_memlink_create
(
struct
mpc_link
*
link
)
{
void
*
addr
;
void
*
addr
=
NULL
;
long
offset
;
int
memsize
,
pid
,
ret
;
int
pagesize
=
getpagesize
();
...
...
@@ -218,7 +218,7 @@ static struct mpc_link *__minipc_memlink_create(struct mpc_link *link)
/* create a link, either server or client */
struct
minipc_ch
*
__minipc_link_create
(
const
char
*
name
,
int
flags
)
{
struct
mpc_link
*
link
,
*
next
;
struct
mpc_link
*
link
;
struct
sockaddr_un
sun
;
int
fd
,
i
;
...
...
@@ -265,7 +265,6 @@ struct minipc_ch *__minipc_link_create(const char *name, int flags)
FD_SET
(
link
->
ch
.
fd
,
&
link
->
fdset
);
}
link
->
addr
=
sun
;
next
=
__mpc_base
;
link
->
nextl
=
__mpc_base
;
__mpc_base
=
link
;
return
&
link
->
ch
;
...
...
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