io-util: move fputs_with_newline to fileio

Follow-up for cdf6f34a2f

We already have other fputs()-like helpers in fileio rather than
io-util. While at it, switch the order of params.
This commit is contained in:
Mike Yuan
2024-06-13 15:56:02 +01:00
committed by Luca Boccassi
parent c43d439307
commit 0160a1dbbc
6 changed files with 28 additions and 24 deletions
-3
View File
@@ -5,7 +5,6 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <sys/types.h>
#include "macro.h"
@@ -45,5 +44,3 @@ static inline bool FILE_SIZE_VALID_OR_INFINITY(uint64_t l) {
return FILE_SIZE_VALID(l);
}
int fputs_with_newline(const char *s, FILE *f);