diff options
author | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-22 12:19:06 +0200 |
---|---|---|
committer | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-22 12:22:09 +0200 |
commit | a70e524ef900504b7508080936dedbb5a782d975 (patch) | |
tree | c4f312a5cb4b2c16ad32123e965dd65fdc035457 /src | |
parent | 0ec55999744b3092e68ea0f5b390dbed653fab30 (diff) |
Zet "stijl" terug
Dit zet toezegging 7021e35029dbbd3b7588c5a334daba582805535a terug.
Het compileert anders niet met clang.
Diffstat (limited to 'src')
-rw-r--r-- | src/io/read_file.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |