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 wrap: on
line diff
--- a/src/interface.c	Wed Sep 14 12:20:40 2011 +0200
+++ b/src/interface.c	Thu Sep 22 15:07:40 2011 +0200
@@ -22,7 +22,7 @@
 /*#define SOCKADDR_OLD 1*/
 
 gboolean
-init_sockaddr(struct sockaddr_in * name, interface * iface)
+init_sockaddr(struct sockaddr_in *name, interface *iface)
 {
 	struct hostent *he;
 	struct in_addr ia;
@@ -66,7 +66,7 @@
 }
 
 int
-make_server_socket(interface * iface)
+make_server_socket(interface *iface)
 {
 	int sock = -1;
 	struct sockaddr_in server;