masqmail
diff src/local.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 | 63efd381e27b |
children | b27f66555ba8 |
line diff
1.1 --- a/src/local.c Wed Sep 14 12:20:40 2011 +0200 1.2 +++ b/src/local.c Thu Sep 22 15:07:40 2011 +0200 1.3 @@ -24,7 +24,7 @@ 1.4 #include "peopen.h" 1.5 1.6 static void 1.7 -message_stream(FILE * out, message * msg, GList * hdr_list, guint flags) 1.8 +message_stream(FILE *out, message *msg, GList *hdr_list, guint flags) 1.9 { 1.10 time_t now = time(NULL); 1.11 GList *node; 1.12 @@ -50,7 +50,7 @@ 1.13 } 1.14 1.15 gboolean 1.16 -append_file(message * msg, GList * hdr_list, gchar * user) 1.17 +append_file(message *msg, GList *hdr_list, gchar *user) 1.18 { 1.19 struct passwd *pw; 1.20 gboolean ok = FALSE; 1.21 @@ -145,7 +145,7 @@ 1.22 } 1.23 1.24 gboolean 1.25 -pipe_out(message * msg, GList * hdr_list, address * rcpt, gchar * cmd, guint flags) 1.26 +pipe_out(message *msg, GList *hdr_list, address *rcpt, gchar *cmd, guint flags) 1.27 { 1.28 gchar *envp[40]; 1.29 FILE *out;