diff options
| author | pml68 <contact@pml68.dev> | 2025-09-16 21:48:56 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.dev> | 2025-09-16 22:15:01 +0200 |
| commit | fd3a7cc487ad5dc36d99ccf46f9e3c6461687f99 (patch) | |
| tree | e1627f8ea07510d06a99ea55f275ae3b6e1919a7 /slstatus/util.h | |
| parent | chore: bump dwm and dmenu versions (diff) | |
| download | suckless-setup-fd3a7cc487ad5dc36d99ccf46f9e3c6461687f99.tar.gz | |
chore: sync slstatus with upstream
Diffstat (limited to '')
| -rw-r--r-- | slstatus/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <stdint.h> +#include <stdio.h> 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); |
