Mercurial > masqmail
diff src/dotlock.h @ 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/dotlock.h Wed Sep 14 12:20:40 2011 +0200 +++ b/src/dotlock.h Thu Sep 22 15:07:40 2011 +0200 @@ -18,5 +18,5 @@ #define MAX_LOCKAGE 300 -gboolean dot_lock(gchar * lock_name, gchar * hitch_name); -gboolean dot_unlock(gchar * lock_name); +gboolean dot_lock(gchar *lock_name, gchar *hitch_name); +gboolean dot_unlock(gchar *lock_name);