masqmail

diff src/dotlock.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/dotlock.c	Wed Sep 14 12:20:40 2011 +0200
     1.2 +++ b/src/dotlock.c	Thu Sep 22 15:07:40 2011 +0200
     1.3 @@ -30,7 +30,7 @@
     1.4  #include "dotlock.h"
     1.5  
     1.6  gboolean
     1.7 -dot_lock(gchar * lock_name, gchar * hitch_name)
     1.8 +dot_lock(gchar *lock_name, gchar *hitch_name)
     1.9  {
    1.10  	gboolean ok = FALSE;
    1.11  	int fd;
    1.12 @@ -72,7 +72,7 @@
    1.13  }
    1.14  
    1.15  gboolean
    1.16 -dot_unlock(gchar * lock_name)
    1.17 +dot_unlock(gchar *lock_name)
    1.18  {
    1.19  	unlink(lock_name);
    1.20