Be consistent... Use Name: consistent in function headers vs Function:

This commit is contained in:
Gregory Nutt
2017-04-21 16:33:14 -06:00
parent 2c4800f511
commit d5207efb5a
213 changed files with 730 additions and 730 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
****************************************************************************/
/****************************************************************************
* Function: net_dsec2tick
* Name: net_dsec2tick
*
* Description:
* Convert a decisecond value to a system clock ticks. Used by IGMP logic.
+1 -1
View File
@@ -53,7 +53,7 @@
****************************************************************************/
/****************************************************************************
* Function: net_dsec2timeval
* Name: net_dsec2timeval
*
* Description:
* Convert a decisecond timeout value to a struct timeval. Needed by
+1 -1
View File
@@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: net_ipv6addr_maskcmp
* Name: net_ipv6addr_maskcmp
*
* Description:
* Compare two IPv6 addresses under a netmask. The mask is used to mask
+1 -1
View File
@@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: net_ipv6_pref2mask
* Name: net_ipv6_pref2mask
*
* Description:
* Convert a IPv6 prefix length to a network mask. The prefix length
+6 -6
View File
@@ -70,7 +70,7 @@ static unsigned int g_count = 0;
****************************************************************************/
/****************************************************************************
* Function: _net_takesem
* Name: _net_takesem
*
* Description:
* Take the semaphore
@@ -94,7 +94,7 @@ static void _net_takesem(void)
****************************************************************************/
/****************************************************************************
* Function: net_lockinitialize
* Name: net_lockinitialize
*
* Description:
* Initialize the locking facility
@@ -107,7 +107,7 @@ void net_lockinitialize(void)
}
/****************************************************************************
* Function: net_lock
* Name: net_lock
*
* Description:
* Take the lock
@@ -140,7 +140,7 @@ void net_lock(void)
}
/****************************************************************************
* Function: net_unlock
* Name: net_unlock
*
* Description:
* Release the lock.
@@ -170,7 +170,7 @@ void net_unlock(void)
}
/****************************************************************************
* Function: net_timedwait
* Name: net_timedwait
*
* Description:
* Atomically wait for sem (or a timeout( while temporarily releasing
@@ -237,7 +237,7 @@ int net_timedwait(sem_t *sem, FAR const struct timespec *abstime)
}
/****************************************************************************
* Function: net_lockedwait
* Name: net_lockedwait
*
* Description:
* Atomically wait for sem while temporarily releasing g_netlock.
+1 -1
View File
@@ -50,7 +50,7 @@
****************************************************************************/
/****************************************************************************
* Function: net_timeval2dsec
* Name: net_timeval2dsec
*
* Description:
* Convert a struct timeval to deciseconds. Needed by setsockopt() to
+5 -5
View File
@@ -77,7 +77,7 @@ struct net_driver_s; /* Forward reference */
struct timeval; /* Forward reference */
/****************************************************************************
* Function: net_lockinitialize
* Name: net_lockinitialize
*
* Description:
* Initialize the locking facility
@@ -87,7 +87,7 @@ struct timeval; /* Forward reference */
void net_lockinitialize(void);
/****************************************************************************
* Function: net_dsec2timeval
* Name: net_dsec2timeval
*
* Description:
* Convert a decisecond value to a struct timeval. Needed by getsockopt()
@@ -107,7 +107,7 @@ void net_lockinitialize(void);
void net_dsec2timeval(uint16_t dsec, FAR struct timeval *tv);
/****************************************************************************
* Function: net_dsec2tick
* Name: net_dsec2tick
*
* Description:
* Convert a decisecond value to a system clock ticks. Used by IGMP logic.
@@ -123,7 +123,7 @@ void net_dsec2timeval(uint16_t dsec, FAR struct timeval *tv);
unsigned int net_dsec2tick(int dsec);
/****************************************************************************
* Function: net_timeval2dsec
* Name: net_timeval2dsec
*
* Description:
* Convert a struct timeval to deciseconds. Needed by setsockopt() to
@@ -172,7 +172,7 @@ uint8_t net_ipv6_mask2pref(FAR const uint16_t *mask);
#endif
/****************************************************************************
* Function: net_ipv6_pref2mask
* Name: net_ipv6_pref2mask
*
* Description:
* Convert a IPv6 prefix length to a network mask. The prefix length