diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-06-13 13:57:25 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-06-13 16:56:02 +0200 |
commit | 0160a1dbbca2bd428d913a60a2a66ed8de5ddb13 (patch) | |
tree | 271ff9739356e9c237587956661cc7137aa2988f /src/basic/fileio.h | |
parent | namespace: rename 'n' to 'n_mount_images' (diff) | |
download | systemd-0160a1dbbca2bd428d913a60a2a66ed8de5ddb13.tar.xz systemd-0160a1dbbca2bd428d913a60a2a66ed8de5ddb13.zip |
io-util: move fputs_with_newline to fileio
Follow-up for cdf6f34a2fd1448c5d1b75f4717c57b057dd51b2
We already have other fputs()-like helpers in fileio rather than
io-util. While at it, switch the order of params.
Diffstat (limited to 'src/basic/fileio.h')
-rw-r--r-- | src/basic/fileio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/fileio.h b/src/basic/fileio.h index 03c3f3ff28..e9fba16580 100644 --- a/src/basic/fileio.h +++ b/src/basic/fileio.h @@ -144,6 +144,7 @@ int write_timestamp_file_atomic(const char *fn, usec_t n); int read_timestamp_file(const char *fn, usec_t *ret); int fputs_with_separator(FILE *f, const char *s, const char *separator, bool *space); +int fputs_with_newline(FILE *f, const char *s); typedef enum ReadLineFlags { READ_LINE_ONLY_NUL = 1 << 0, |