X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/c8b860fb8d0f1531f99db4fad74f5892c6806f1b..355a960dd8bfbe2606be95d38aafd6bc0675d76f:/test/libapt/tagfile_test.cc diff --git a/test/libapt/tagfile_test.cc b/test/libapt/tagfile_test.cc index 2e2144f99..aaf46e3e9 100644 --- a/test/libapt/tagfile_test.cc +++ b/test/libapt/tagfile_test.cc @@ -1,14 +1,19 @@ +#include + #include #include -#include "assert.h" +#include #include #include +#include + +#include "assert.h" char *tempfile = NULL; int tempfile_fd = -1; -void remove_tmpfile(void) +static void remove_tmpfile(void) { if (tempfile_fd > 0) close(tempfile_fd); @@ -18,7 +23,7 @@ void remove_tmpfile(void) } } -int main(int argc, char *argv[]) +int main() { FileFd fd; const char contents[] = "FieldA-12345678: the value of the field";