diff options
Diffstat (limited to 'slstatus/util.h')
| -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); |
