retire _CONST, _VOLATILE, _SIZET, _ARGS, _VOID

This commit is contained in:
Ben Gras
2012-03-25 20:38:37 +02:00
parent 7336a67dfe
commit db242ed39d
27 changed files with 110 additions and 131 deletions

View File

@@ -9,10 +9,10 @@ struct ether_addr;
#define _PATH_ETHERS "/etc/ethers"
char *ether_ntoa _ARGS(( struct ether_addr *e ));
struct ether_addr *ether_aton _ARGS(( const char *s ));
int ether_ntohost _ARGS(( char *hostname, struct ether_addr *e ));
int ether_hostton _ARGS(( char *hostname, struct ether_addr *e ));
int ether_line _ARGS(( char *l, struct ether_addr *e, char *hostname ));
char *ether_ntoa( struct ether_addr *e );
struct ether_addr *ether_aton( const char *s );
int ether_ntohost( char *hostname, struct ether_addr *e );
int ether_hostton( char *hostname, struct ether_addr *e );
int ether_line( char *l, struct ether_addr *e, char *hostname );
#endif /* __SERVER__IP__GEN__IF_ETHER_H__ */

View File

@@ -7,9 +7,9 @@ server/ip/gen/inet.h
#include <net/gen/in.h>
ipaddr_t inet_addr _ARGS(( const char *addr ));
ipaddr_t inet_network _ARGS(( const char *addr ));
char *inet_ntoa _ARGS(( ipaddr_t addr ));
int inet_aton _ARGS(( const char *cp, ipaddr_t *pin ));
ipaddr_t inet_addr( const char *addr );
ipaddr_t inet_network( const char *addr );
char *inet_ntoa( ipaddr_t addr );
int inet_aton( const char *cp, ipaddr_t *pin );
#endif /* __SERVER__IP__GEN__INET_H__ */

View File

@@ -5,6 +5,6 @@ server/ip/gen/oneCsum.h
#ifndef __SERVER__IP__GEN__ONECSUM_H__
#define __SERVER__IP__GEN__ONECSUM_H__
u16_t oneC_sum _ARGS(( u16_t prev, void *data, size_t data_len ));
u16_t oneC_sum( u16_t prev, void *data, size_t data_len );
#endif /* __SERVER__IP__GEN__ONECSUM_H__ */