From 59c4bb08d1e01daa67194fd0b02e60f39198ddd0 Mon Sep 17 00:00:00 2001
From: Danilo Piparo <danilo.piparo@cern.ch>
Date: Mon, 16 Dec 2013 14:04:36 +0100
Subject: [PATCH] Remove timestamps even from rootmaps

clean duplicate headers which were included.
---
 core/utils/src/rootcling.cxx | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/core/utils/src/rootcling.cxx b/core/utils/src/rootcling.cxx
index fea81fde3ff..14a62504e4b 100644
--- a/core/utils/src/rootcling.cxx
+++ b/core/utils/src/rootcling.cxx
@@ -155,7 +155,6 @@ const char *rootClingHelp =
 #include <memory>
 #include <vector>
 #include <algorithm>
-#include <time.h>
 #include <stdio.h>
 
 #ifdef _WIN32
@@ -168,7 +167,6 @@ const char *rootClingHelp =
 #endif
 
 #include <errno.h>
-#include <time.h>
 #include <string>
 #include <list>
 #include <vector>
@@ -2459,9 +2457,6 @@ int CreateRootMapFile(const std::string& rootmapFileName,
 
 
    // Preamble
-   time_t rawtime;
-   time (&rawtime);
-
    rootmapFile << "#--Begin " << rootmapFileName << std::endl;
 
    // The number used to have the same alignment of ROOT5
@@ -2517,13 +2512,6 @@ int CreateNewRootMapFile(const std::string& rootmapFileName,
       return 1;
    }
 
-   // Preamble
-   time_t rawtime;
-   time (&rawtime);
-   char* theTime = ctime(&rawtime);
-   rootmapFile << "# Automatically generated with genreflex on "
-               << (theTime ? theTime : "TIME ERROR");
-
    // Add the template definitions
    if (!templateDefsList.empty()){
       rootmapFile << "\n{ decls }\n";
-- 
GitLab