Commit efcf604e authored by Arturo Espinosa's avatar Arturo Espinosa

Small fixes for distcheck

parent bc00fbfb
......@@ -72,7 +72,7 @@ static Value *
gnumeric_today (FunctionDefinition *fd, Value *argv [], char **error_string)
{
Value *v;
GDate *date = g_date_new();
GDate *date = g_date_new ();
g_date_set_time (date, time (NULL));
......@@ -110,11 +110,11 @@ gnumeric_now (FunctionDefinition *fd, Value *argv [], char **error_string)
Value *v;
time_t t = time (NULL);
struct tm *tm = localtime (&t);
GDate *date = g_date_new();
GDate *date = g_date_new ();
g_date_set_time (date, t);
v = value_float (g_date_serial(date) +
v = value_float (g_date_serial (date) +
((tm->tm_hour * 3600 + tm->tm_min * 60
+ tm->tm_sec)/(double)DAY_SECONDS));
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -72,7 +72,7 @@ static Value *
gnumeric_today (FunctionDefinition *fd, Value *argv [], char **error_string)
{
Value *v;
GDate *date = g_date_new();
GDate *date = g_date_new ();
g_date_set_time (date, time (NULL));
......@@ -110,11 +110,11 @@ gnumeric_now (FunctionDefinition *fd, Value *argv [], char **error_string)
Value *v;
time_t t = time (NULL);
struct tm *tm = localtime (&t);
GDate *date = g_date_new();
GDate *date = g_date_new ();
g_date_set_time (date, t);
v = value_float (g_date_serial(date) +
v = value_float (g_date_serial (date) +
((tm->tm_hour * 3600 + tm->tm_min * 60
+ tm->tm_sec)/(double)DAY_SECONDS));
......
......@@ -72,7 +72,7 @@ static Value *
gnumeric_today (FunctionDefinition *fd, Value *argv [], char **error_string)
{
Value *v;
GDate *date = g_date_new();
GDate *date = g_date_new ();
g_date_set_time (date, time (NULL));
......@@ -110,11 +110,11 @@ gnumeric_now (FunctionDefinition *fd, Value *argv [], char **error_string)
Value *v;
time_t t = time (NULL);
struct tm *tm = localtime (&t);
GDate *date = g_date_new();
GDate *date = g_date_new ();
g_date_set_time (date, t);
v = value_float (g_date_serial(date) +
v = value_float (g_date_serial (date) +
((tm->tm_hour * 3600 + tm->tm_min * 60
+ tm->tm_sec)/(double)DAY_SECONDS));
......
......@@ -13,7 +13,7 @@ guint gnumeric_strcase_hash (gconstpointer v);
gint gnumeric_strcase_equal (gconstpointer v, gconstpointer v2);
/* return the gnumeric serial number of a special date */
guint32 g_date_serial (GDate* date);
GDate* g_date_new_serial (guint32 serial);
guint32 g_date_serial (GDate *date);
GDate *g_date_new_serial (guint32 serial);
#endif /* GNUMERIC_UTILS_H */
......@@ -13,7 +13,7 @@ guint gnumeric_strcase_hash (gconstpointer v);
gint gnumeric_strcase_equal (gconstpointer v, gconstpointer v2);
/* return the gnumeric serial number of a special date */
guint32 g_date_serial (GDate* date);
GDate* g_date_new_serial (guint32 serial);
guint32 g_date_serial (GDate *date);
GDate *g_date_new_serial (guint32 serial);
#endif /* GNUMERIC_UTILS_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment