summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-06-03 13:19:41 -0400
committerJakob Kaivo <jkk@ung.org>2024-06-03 13:19:41 -0400
commitc575f269ed4a04f89d610b423cc43ce7bd6f008b (patch)
tree9c15ec55bba2e5ae88fb0b08529c83ee8a0bff77
parent5da021a62216a1f152f844873a95b2dc4dc1e4bc (diff)
include correct header
-rw-r--r--src/stdio/__conv.c32
1 files changed, 1 insertions, 31 deletions
diff --git a/src/stdio/__conv.c b/src/stdio/__conv.c
index 68d86d54..3dbfd687 100644
--- a/src/stdio/__conv.c
+++ b/src/stdio/__conv.c
@@ -1,37 +1,7 @@
#include <inttypes.h>
#include <ctype.h>
#include <string.h>
-#include "_conversion.h"
-
-/*
-struct io_conversion {
- enum { IO_IN, IO_OUT } dir;
- enum {
- F_STAR = (1<<0),
- F_LEFT = (1<<1),
- F_SIGN = (1<<2),
- F_SPACE = (1<<3),
- F_ALT = (1<<4),
- F_ZERO = (1<<4),
- } flags;
- enum {
- L_default,
- L_hh,
- L_h,
- L_l,
- L_ll,
- L_j,
- L_z,
- L_t,
- L_L,
- } length;
- int has_width:1;
- int has_precision:1;
- uintmax_t width;
- uintmax_t precision;
- char spec;
-};
-*/
+#include "_stdio.h"
size_t __conv(const char *format, struct io_conversion *conv)
{