Drop build date from generated file

for reproducible builds.

Without this, dagcheck.c in the debugsource package
varies across builds.
This commit is contained in:
Bernhard M. Wiedemann 2025-01-25 19:50:05 +01:00 committed by Tim Angus
parent 72b5fbe893
commit 1c1590d6c0

View File

@ -456,9 +456,7 @@ static void emitdefs(Nonterm nts, int ntnumber) {
/* emitheader - emit initial definitions */
static void emitheader(void) {
time_t timer = time(NULL);
print("/*\ngenerated at %sby %s\n*/\n", ctime(&timer), rcsid);
print("/*\ngenerated by %s\n*/\n", rcsid);
print("static void %Pkids(NODEPTR_TYPE, int, NODEPTR_TYPE[]);\n");
print("static void %Plabel(NODEPTR_TYPE);\n");
print("static int %Prule(void*, int);\n\n");