Module Name: src
Committed By: andvar
Date: Fri May 24 07:52:46 UTC 2024
Modified Files:
src/external/bsd/tre/dist/src: agrep.c
Log Message:
agrep(1): remove duplicated and obsolete imports.
dirent import is the only one which stays in the odd location.
Part of PR bin/53513.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/tre/dist/src/agrep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/tre/dist/src/agrep.c
diff -u src/external/bsd/tre/dist/src/agrep.c:1.5 src/external/bsd/tre/dist/src/agrep.c:1.6
--- src/external/bsd/tre/dist/src/agrep.c:1.5 Thu May 23 22:07:16 2024
+++ src/external/bsd/tre/dist/src/agrep.c Fri May 24 07:52:45 2024
@@ -320,10 +320,6 @@ tre_agrep_get_next_record(int fd, const
}
}
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/mman.h>
-
#include <dirent.h>
static int tre_agrep_handle_file(const char */*filename*/);