mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
time-util: let's make xstrftime() useful for everybody, even if we only have a single user so far.
This commit is contained in:
parent
b7ce6b592d
commit
babc21fdc0
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user