commit ada4bb3eddc37f74d9318b06551b601b62a45328
parent e90b5a7888155c1714468ad7c2860e714cd603e7
Author: Leah Neukirchen <leah@vuxu.org>
Date: Tue, 21 Apr 2020 20:42:31 +0200
fmt.h: use prototypes, remove missing functions
Diffstat:
M | fmt.h | | | 21 | +++++---------------- |
1 file changed, 5 insertions(+), 16 deletions(-)
diff --git a/fmt.h b/fmt.h
@@ -4,22 +4,11 @@
#define FMT_ULONG 40 /* enough space to hold 2^128 - 1 in decimal, plus \0 */
#define FMT_LEN ((char *) 0) /* convenient abbreviation */
-extern unsigned int fmt_uint();
-extern unsigned int fmt_uint0();
-extern unsigned int fmt_xint();
-extern unsigned int fmt_nbbint();
-extern unsigned int fmt_ushort();
-extern unsigned int fmt_xshort();
-extern unsigned int fmt_nbbshort();
-extern unsigned int fmt_ulong();
-extern unsigned int fmt_xlong();
-extern unsigned int fmt_nbblong();
+extern unsigned int fmt_uint(char *, unsigned int);
+extern unsigned int fmt_uint0(char *, unsigned int, unsigned int);
+extern unsigned int fmt_ulong(char *, unsigned long);
-extern unsigned int fmt_plusminus();
-extern unsigned int fmt_minus();
-extern unsigned int fmt_0x();
-
-extern unsigned int fmt_str();
-extern unsigned int fmt_strn();
+extern unsigned int fmt_str(char *, char *);
+extern unsigned int fmt_strn(char *, char *, unsigned int);
#endif