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
3b6b78d3
Commit
3b6b78d3
authored
Sep 30, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bmc: mark static functions as static
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
396993a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
ppsi.h
include/ppsi/ppsi.h
+0
-1
bmc.c
proto-standard/bmc.c
+2
-2
No files found.
include/ppsi/ppsi.h
View file @
3b6b78d3
...
...
@@ -266,7 +266,6 @@ extern void pp_servo_got_resp(struct pp_instance *ppi); /* got all t1..t4 */
/* bmc.c */
extern
void
m1
(
struct
pp_instance
*
ppi
);
extern
void
s1
(
struct
pp_instance
*
ppi
,
MsgHeader
*
header
,
MsgAnnounce
*
ann
);
extern
int
bmc
(
struct
pp_instance
*
ppi
);
/* msg.c */
...
...
proto-standard/bmc.c
View file @
3b6b78d3
...
...
@@ -44,7 +44,7 @@ void m1(struct pp_instance *ppi)
/* ppi->port_idx port is synchronized to Ebest Table 16 (9.3.5) of the spec. */
void
s1
(
struct
pp_instance
*
ppi
,
MsgHeader
*
hdr
,
MsgAnnounce
*
ann
)
static
void
s1
(
struct
pp_instance
*
ppi
,
MsgHeader
*
hdr
,
MsgAnnounce
*
ann
)
{
struct
DSParent
*
parent
=
DSPAR
(
ppi
);
struct
DSTimeProperties
*
prop
=
DSPRO
(
ppi
);
...
...
@@ -75,7 +75,7 @@ void s1(struct pp_instance *ppi, MsgHeader *hdr, MsgAnnounce *ann)
pp_hooks
.
s1
(
ppi
,
hdr
,
ann
);
}
void
p1
(
struct
pp_instance
*
ppi
,
MsgHeader
*
hdr
,
MsgAnnounce
*
ann
)
static
void
p1
(
struct
pp_instance
*
ppi
,
MsgHeader
*
hdr
,
MsgAnnounce
*
ann
)
{
/* In the default implementation, nothing should be done when a port goes
* to passive state. This empty function is a placeholder for
...
...
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