|
From: <sv...@va...> - 2016-12-05 16:54:14
|
Author: petarj
Date: Mon Dec 5 16:54:06 2016
New Revision: 16174
Log:
Remove second definition of typedef ‘Time’
Remove redefinition of typedef ‘Time’ already defined in pub_tool_xtree.h
This fixes warning/error:
ms_main.c:633:14: warning: redefinition of typedef ‘Time’ [-Wpedantic]
typedef Long Time;
Modified:
trunk/massif/ms_main.c
Modified: trunk/massif/ms_main.c
==============================================================================
--- trunk/massif/ms_main.c (original)
+++ trunk/massif/ms_main.c Mon Dec 5 16:54:06 2016
@@ -627,11 +627,6 @@
// limit again, we again cull and then take them even more slowly, and so
// on.
-// Time is measured either in i or ms or bytes, depending on the --time-unit
-// option. It's a Long because it can exceed 32-bits reasonably easily, and
-// because we need to allow negative values to represent unset times.
-typedef Long Time;
-
#define UNUSED_SNAPSHOT_TIME -333 // A conspicuous negative number.
typedef
|