projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Delete trailing whitespace at end of lines.
[pspp-builds.git]
/
src
/
libpspp
/
start-date.c
diff --git
a/src/libpspp/start-date.c
b/src/libpspp/start-date.c
index 0f587fb3fc4dc821bc73e1b1a8aa0c5f5c380c87..68aa3a78461cbdb868a6b30cc21bde58bbde4759 100644
(file)
--- a/
src/libpspp/start-date.c
+++ b/
src/libpspp/start-date.c
@@
-28,10
+28,10
@@
static void
get_cur_date (char cur_date[12])
{
time_t now = time (NULL);
get_cur_date (char cur_date[12])
{
time_t now = time (NULL);
- if (now != (time_t) -1)
+ if (now != (time_t) -1)
{
struct tm *tm = localtime (&now);
{
struct tm *tm = localtime (&now);
- if (tm != NULL)
+ if (tm != NULL)
{
strftime (cur_date, 12, "%d %b %Y", tm);
return;
{
strftime (cur_date, 12, "%d %b %Y", tm);
return;
@@
-48,5
+48,5
@@
get_start_date (void)
static char start_date[12];
if (start_date[0] == '\0')
get_cur_date (start_date);
static char start_date[12];
if (start_date[0] == '\0')
get_cur_date (start_date);
- return start_date;
+ return start_date;
}
}