summaryrefslogtreecommitdiff
path: root/src/basic/format-util.h
Commit message (Collapse)AuthorAge
* timesync/timesyncd-manager: fix format-specifier issuesMatija Skala2017-07-25
| | | | | | | | | | timex::time::tv_usec and timex::freq can have different sizes depending on the host architecture. On x32 in particular, it is 8 bytes long while the long int type is only 4 bytes long. Hence, using li as a format specifier will trigger a format error. Thus, introduce a new format specifier PRI_TIMEX which is defined as PRIi64 on x32 and li everywhere else.
* Prep v233: Add missing files from upstream and rename formats-util.[hc]Sven Eden2017-07-17
Some functionality has been exported to the following files: - src/basic/env-util.[hc] - src/basic/exec-util.[hc] - src/shared/nsflags.[hc] The content of these files is now needed in elogind, and the files have been added as-is. Cleanup is done later. Further the header src/basic/formats-util.h has been renamed to src/basic/format-util.h