Skip to content

Commit

Permalink
if: fix function declaration warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Aug 14, 2024
1 parent f21634b commit c3d5abe
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions if.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
struct dhcp6_if *dhcp6_if;

struct dhcp6_if *
ifinit(ifname)
char *ifname;
ifinit(char *ifname)
{
struct dhcp6_if *ifp;

Expand Down Expand Up @@ -126,8 +125,7 @@ ifinit(ifname)
}

int
ifreset(ifp)
struct dhcp6_if *ifp;
ifreset(struct dhcp6_if *ifp)
{
unsigned int ifid;
uint32_t linkid;
Expand Down Expand Up @@ -155,8 +153,7 @@ ifreset(ifp)
}

struct dhcp6_if *
find_ifconfbyname(ifname)
char *ifname;
find_ifconfbyname(char *ifname)
{
struct dhcp6_if *ifp;

Expand All @@ -169,8 +166,7 @@ find_ifconfbyname(ifname)
}

struct dhcp6_if *
find_ifconfbyid(id)
unsigned int id;
find_ifconfbyid(unsigned int id)
{
struct dhcp6_if *ifp;

Expand Down

0 comments on commit c3d5abe

Please sign in to comment.