From a70e524ef900504b7508080936dedbb5a782d975 Mon Sep 17 00:00:00 2001 From: Lieuwe Rooijakkers Date: Mon, 22 Jul 2024 12:19:06 +0200 Subject: Zet "stijl" terug Dit zet toezegging 7021e35029dbbd3b7588c5a334daba582805535a terug. Het compileert anders niet met clang. --- src/io/read_file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/io/read_file.c b/src/io/read_file.c index 414a6d8..b7b1095 100644 --- a/src/io/read_file.c +++ b/src/io/read_file.c @@ -84,12 +84,13 @@ struct filebuf *file_to_filebuf(char *fname, int openOptions) { return res; } -sponge: +sponge: { FILE *stream = fdopen(fd, "rb"); struct filebuf *res = stream_to_filebuf(stream, openOptions); fclose(stream); return res; } +} void free_filebuf(struct filebuf *fb) { switch (fb->mapping_type) { -- cgit v1.2.3-70-g09d2