Indented using indent script.

This commit is contained in:
skarg
2010-05-04 21:06:26 +00:00
parent b2368acc27
commit 710cfccfef
134 changed files with 2901 additions and 3035 deletions
+5 -5
View File
@@ -209,12 +209,12 @@ bool bip_init(
* @return 0 on success, else the error from the ioctl() call.
*/
int bip_get_local_netmask(
struct in_addr *netmask )
struct in_addr *netmask)
{
int rv;
char *ifname = getenv("BACNET_IFACE"); /* will probably be null */
if ( ifname == NULL )
ifname = "eth0";
int rv;
char *ifname = getenv("BACNET_IFACE"); /* will probably be null */
if (ifname == NULL)
ifname = "eth0";
rv = get_local_address_ioctl(ifname, netmask, SIOCGIFNETMASK);
return rv;
}
+1 -2
View File
@@ -98,8 +98,7 @@
/* Local helper functions for this port */
extern int bip_get_local_netmask(
struct in_addr *netmask );
struct in_addr *netmask);
#endif
+1 -1
View File
@@ -26,7 +26,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <sys/time.h> /* for timeval */
#include <sys/time.h> /* for timeval */
/* Timer Module */
#ifndef MAX_MILLISECOND_TIMERS