From fd3a7cc487ad5dc36d99ccf46f9e3c6461687f99 Mon Sep 17 00:00:00 2001 From: pml68 Date: Tue, 16 Sep 2025 21:48:56 +0200 Subject: chore: sync slstatus with upstream --- slstatus/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'slstatus/util.h') diff --git a/slstatus/util.h b/slstatus/util.h index cf4b027..7a960aa 100644 --- a/slstatus/util.h +++ b/slstatus/util.h @@ -1,5 +1,6 @@ /* See LICENSE file for copyright and license details. */ #include +#include extern char buf[1024]; @@ -14,3 +15,4 @@ int esnprintf(char *str, size_t size, const char *fmt, ...); const char *bprintf(const char *fmt, ...); const char *fmt_human(uintmax_t num, int base); int pscanf(const char *path, const char *fmt, ...); +int lscanf(FILE *fp, const char *key, const char *fmt, void *res); -- cgit v1.2.3