Mercurial > 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 wrap: on
line diff
--- a/src/local.c Wed Sep 14 12:20:40 2011 +0200 +++ b/src/local.c Thu Sep 22 15:07:40 2011 +0200 @@ -24,7 +24,7 @@ #include "peopen.h" static void -message_stream(FILE * out, message * msg, GList * hdr_list, guint flags) +message_stream(FILE *out, message *msg, GList *hdr_list, guint flags) { time_t now = time(NULL); GList *node; @@ -50,7 +50,7 @@ } gboolean -append_file(message * msg, GList * hdr_list, gchar * user) +append_file(message *msg, GList *hdr_list, gchar *user) { struct passwd *pw; gboolean ok = FALSE; @@ -145,7 +145,7 @@ } gboolean -pipe_out(message * msg, GList * hdr_list, address * rcpt, gchar * cmd, guint flags) +pipe_out(message *msg, GList *hdr_list, address *rcpt, gchar *cmd, guint flags) { gchar *envp[40]; FILE *out;