mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Change tabs to spaces and remove some blank lines
This commit is contained in:
parent
047bc8d69b
commit
b485206378
@ -264,7 +264,6 @@ gnc_difftime (const time64 secs1, const time64 secs2)
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
|
||||
const char*
|
||||
gnc_date_dateformat_to_string(QofDateFormat format)
|
||||
{
|
||||
@ -319,7 +318,6 @@ gnc_date_string_to_dateformat(const char* fmt_str, QofDateFormat *format)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
const char*
|
||||
gnc_date_monthformat_to_string(GNCDateMonthFormat format)
|
||||
{
|
||||
@ -411,7 +409,6 @@ timespec_normalize(Timespec *t)
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
gboolean
|
||||
timespec_equal (const Timespec *ta, const Timespec *tb)
|
||||
{
|
||||
@ -738,12 +735,12 @@ floordiv(int a, int b)
|
||||
|
||||
Fully formatted UTC timestamp strings are converted separately.
|
||||
|
||||
param buff - pointer to date string
|
||||
param day - will store day of the month as 1 ... 31
|
||||
param month - will store month of the year as 1 ... 12
|
||||
param year - will store the year (4-digit)
|
||||
param buff - pointer to date string
|
||||
param day - will store day of the month as 1 ... 31
|
||||
param month - will store month of the year as 1 ... 12
|
||||
param year - will store the year (4-digit)
|
||||
|
||||
return TRUE if date appeared to be valid.
|
||||
return TRUE if date appeared to be valid.
|
||||
|
||||
Globals: global dateFormat value
|
||||
*/
|
||||
@ -1045,7 +1042,6 @@ char dateSeparator (void)
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
return '\0';
|
||||
}
|
||||
|
||||
@ -1179,7 +1175,6 @@ qof_strftime(gchar *buf, gsize max, const gchar *format, const struct tm *tm)
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
||||
/********************************************************************\
|
||||
\********************************************************************/
|
||||
|
||||
@ -1248,7 +1243,6 @@ gnc_timespec_to_iso8601_buff (Timespec ts, char * buff)
|
||||
PWARN("Error processing time64 %" PRId64 ": %s", ts.tv_sec, err.what());
|
||||
return buff;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
@ -1287,7 +1281,6 @@ gnc_dmy2timespec_internal (int day, int month, int year, DayPart day_part)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Timespec
|
||||
gnc_dmy2timespec (int day, int month, int year)
|
||||
{
|
||||
@ -1371,11 +1364,8 @@ gnc_gdate_set_time64 (GDate* gd, time64 time)
|
||||
g_date_set_dmy (gd, tm.tm_mday,
|
||||
static_cast<GDateMonth>(tm.tm_mon + 1),
|
||||
tm.tm_year + 1900);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Timespec gdate_to_timespec (GDate d)
|
||||
{
|
||||
return gnc_dmy2timespec_neutral (g_date_get_day(&d),
|
||||
@ -1423,7 +1413,6 @@ gnc_time64_get_day_end (time64 time_val)
|
||||
return new_time;
|
||||
}
|
||||
|
||||
|
||||
/* ======================================================== */
|
||||
|
||||
void
|
||||
@ -1500,7 +1489,6 @@ timespec_get_type( void )
|
||||
timespec_boxed_copy_func,
|
||||
timespec_boxed_free_func );
|
||||
}
|
||||
|
||||
return type;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user