Skip to content

Commit

Permalink
Fix darwin build error
Browse files Browse the repository at this point in the history
  • Loading branch information
joonhaengHeo committed Oct 16, 2023
1 parent 81b8aa1 commit fee49fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/inet/InetInterfaceImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
namespace chip {
namespace Inet {
// Define if_nameindex to be implemented in the platform layer
struct if_nameindex * if_nameindexImpl(void);
void if_freenameindexImpl(struct if_nameindex *);
struct if_nameindex * if_nameindexImpl();
void if_freenameindexImpl(struct if_nameindex * inArray);
} // namespace Inet
} // namespace chip
#endif
2 changes: 1 addition & 1 deletion src/platform/android/InetInterfaceImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void if_freenameindexImpl(struct if_nameindex * inArray)
Platform::MemoryFree(inArray);
}

struct if_nameindex * if_nameindexImpl(void)
struct if_nameindex * if_nameindexImpl()
{
int err;
size_t intfIter = 0;
Expand Down

0 comments on commit fee49fc

Please sign in to comment.