Skip to content

Commit 1cc84f3

Browse files
committed
network: make link_up() static
1 parent 8499b2c commit 1cc84f3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/network/networkd-link.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1775,7 +1775,7 @@ static int link_up_handler(sd_netlink *rtnl, sd_netlink_message *m, Link *link)
17751775
return 1;
17761776
}
17771777

1778-
int link_up(Link *link) {
1778+
static int link_up(Link *link) {
17791779
_cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL;
17801780
uint8_t ipv6ll_mode;
17811781
int r;

src/network/networkd-link.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ int link_get(Manager *m, int ifindex, Link **ret);
143143
int link_add(Manager *manager, sd_netlink_message *message, Link **ret);
144144
void link_drop(Link *link);
145145

146-
int link_up(Link *link);
147146
int link_down(Link *link);
148147

149148
void link_enter_failed(Link *link);

0 commit comments

Comments
 (0)