Minor cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19436 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-12-06 18:38:38 +00:00
parent 4818d3b627
commit 26cbcedb9c
2 changed files with 4 additions and 5 deletions

View File

@ -69,8 +69,8 @@ struct net_datalink_module_info {
bool (*is_local_address)(struct net_domain *domain,
const struct sockaddr *address,
net_interface **_interface /* = NULL */,
uint32 *_matchedType /* = NULL*/);
net_interface **_interface,
uint32 *_matchedType);
// routes
status_t (*add_route)(struct net_domain *domain,

View File

@ -379,7 +379,7 @@ datalink_send_data(struct net_route *route, net_buffer *buffer)
bool
is_local_address(net_domain *_domain, const struct sockaddr *address,
datalink_is_local_address(net_domain *_domain, const struct sockaddr *address,
net_interface **_interface, uint32 *_matchedType)
{
net_domain_private *domain = (net_domain_private *)_domain;
@ -723,8 +723,7 @@ net_datalink_module_info gNetDatalinkModule = {
datalink_control,
datalink_send_data,
is_local_address,
datalink_is_local_address,
add_route,
remove_route,