Commit 3b6b78d3 authored by Alessandro Rubini's avatar Alessandro Rubini

bmc: mark static functions as static

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 396993a9
......@@ -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 */
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment