From 370508994e9274751af80008a5bf7210ee98af62 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sat, 22 Jan 2022 18:57:02 +0100 Subject: [PATCH] Fix compilation error introduced by last commit --- typegen/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typegen/main.c b/typegen/main.c index ed47820..236d2bc 100644 --- a/typegen/main.c +++ b/typegen/main.c @@ -554,8 +554,8 @@ int main(__attribute((unused)) int argc, __attribute((unused)) char **argv) fprintf(c_fp, "#include \n"); fprintf(c_fp, "#include \n"); fprintf(c_fp, "#include \n\n"); - fprintf(h_fp, "#define htobe8(x) (x)\n"); - fprintf(h_fp, "#define be8toh(x) (x)\n\n"); + fprintf(c_fp, "#define htobe8(x) (x)\n"); + fprintf(c_fp, "#define be8toh(x) (x)\n\n"); fprintf(c_fp, "#include \"dnet-types.h\"\n\n"); FILE *h_fp = fopen("dnet-types.h", "w"); -- 2.44.0