Add newlines at EOF so clang doesn't complain

This commit is contained in:
apio 2022-12-31 12:51:47 +01:00
parent ab80b8ba45
commit 55276a78e2
Signed by: apio
GPG Key ID: B8A7D06E42258954
4 changed files with 4 additions and 4 deletions

View File

@ -52,4 +52,4 @@ extern "C"
}
#endif
#endif
#endif

View File

@ -133,4 +133,4 @@ size_t minitar_read_contents(struct minitar* mp, struct minitar_entry* entry, ch
if (fsetpos(mp->stream, &current_position)) return 0;
return nread;
}
}

View File

@ -25,4 +25,4 @@ struct tar_header
char padding[12]; // Not part of the header, only used to make the structure 512 bytes
} __attribute__((packed));
#endif
#endif

View File

@ -215,4 +215,4 @@ int minitar_read_header(struct minitar* mp, struct tar_header* hdr)
if (rc == 0 && ferror(mp->stream)) minitar_panic("Error while reading file header from tar archive");
if (rc < sizeof *hdr) minitar_panic("Valid tar files should be split in 512-byte blocks");
return 1;
}
}