time-util: let's make xstrftime() useful for everybody, even if we only have a single user so far.

This commit is contained in:
Lennart Poettering 2015-02-02 21:28:33 +01:00
parent b7ce6b592d
commit babc21fdc0
2 changed files with 2 additions and 2 deletions

View file

@ -107,3 +107,5 @@ int get_timezones(char ***l);
bool timezone_is_valid(const char *name);
clockid_t clock_boottime_or_monotonic(void);
#define xstrftime(buf, fmt, tm) assert_se(strftime(buf, ELEMENTSOF(buf), fmt, tm) > 0)

View file

@ -38,8 +38,6 @@
#include "pager.h"
#include "time-dst.h"
#define xstrftime(buf, fmt, tm) assert_se(strftime(buf, sizeof(buf), fmt, tm) > 0)
static bool arg_no_pager = false;
static bool arg_ask_password = true;
static BusTransport arg_transport = BUS_TRANSPORT_LOCAL;