comparison src/timeival.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 2e7d3a02edb1
children b27f66555ba8
comparison
equal deleted inserted replaced
365:934a223e4ee8 366:41958685480d
20 #include <glib.h> 20 #include <glib.h>
21 21
22 #include "masqmail.h" 22 #include "masqmail.h"
23 23
24 gint 24 gint
25 time_interval(gchar * str) 25 time_interval(gchar *str)
26 { 26 {
27 gchar buf[16]; 27 gchar buf[16];
28 gchar *p = str, *q = buf; 28 gchar *p = str, *q = buf;
29 gint factor = 1, val; 29 gint factor = 1, val;
30 30