masqmail

diff src/interface.c @ 366:41958685480d

Switched to `type *name' style Andrew Koenig's ``C Traps and Pitfalls'' (Ch.2.1) convinced me that it is best to go with the way C had been designed. The ``declaration reflects use'' concept conflicts with a ``type* name'' notation. Hence I switched.
author markus schnalke <meillo@marmaro.de>
date Thu, 22 Sep 2011 15:07:40 +0200
parents 26e34ae9a3e3
children b27f66555ba8
line diff
     1.1 --- a/src/interface.c	Wed Sep 14 12:20:40 2011 +0200
     1.2 +++ b/src/interface.c	Thu Sep 22 15:07:40 2011 +0200
     1.3 @@ -22,7 +22,7 @@
     1.4  /*#define SOCKADDR_OLD 1*/
     1.5  
     1.6  gboolean
     1.7 -init_sockaddr(struct sockaddr_in * name, interface * iface)
     1.8 +init_sockaddr(struct sockaddr_in *name, interface *iface)
     1.9  {
    1.10  	struct hostent *he;
    1.11  	struct in_addr ia;
    1.12 @@ -66,7 +66,7 @@
    1.13  }
    1.14  
    1.15  int
    1.16 -make_server_socket(interface * iface)
    1.17 +make_server_socket(interface *iface)
    1.18  {
    1.19  	int sock = -1;
    1.20  	struct sockaddr_in server;