diff src/expand.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 f671821d8222
children b27f66555ba8
line wrap: on
line diff
--- a/src/expand.c	Wed Sep 14 12:20:40 2011 +0200
+++ b/src/expand.c	Thu Sep 22 15:07:40 2011 +0200
@@ -21,7 +21,7 @@
 #define MAX_VAR 50
 
 GList*
-var_table_rcpt(GList * var_table, address * rcpt)
+var_table_rcpt(GList *var_table, address *rcpt)
 {
 	gchar *tmp_str;
 
@@ -36,7 +36,7 @@
 }
 
 GList*
-var_table_msg(GList * var_table, message * msg)
+var_table_msg(GList *var_table, message *msg)
 {
 	address *ret_path = msg->return_path;
 	gchar *tmp_str;
@@ -55,7 +55,7 @@
 }
 
 GList*
-var_table_conf(GList * var_table)
+var_table_conf(GList *var_table)
 {
 	var_table = g_list_prepend(var_table, create_pair_string("host_name", conf.host_name));
 	var_table = g_list_prepend(var_table, create_pair_string("package", PACKAGE));
@@ -65,7 +65,7 @@
 }
 
 gint
-expand(GList * var_list, gchar * format, gchar * result, gint result_len)
+expand(GList *var_list, gchar *format, gchar *result, gint result_len)
 {
 	gchar *p = format, *q = result;
 	gchar *vq;