[Ecm-commits] r2625 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Wed Feb 18 21:55:07 CET 2015


Author: zimmerma
Date: 2015-02-18 21:55:07 +0100 (Wed, 18 Feb 2015)
New Revision: 2625

Modified:
   trunk/memusage.c
Log:
removed trailing ^M


Modified: trunk/memusage.c
===================================================================
--- trunk/memusage.c	2015-02-18 19:58:42 UTC (rev 2624)
+++ trunk/memusage.c	2015-02-18 20:55:07 UTC (rev 2625)
@@ -64,15 +64,15 @@
 
 #else
 
-#include <windows.h>
-#include <psapi.h>
+#include <windows.h>
+#include <psapi.h>
 
 long
 PeakMemusage(void)
 {
-    PROCESS_MEMORY_COUNTERS info;
-    GetProcessMemoryInfo(GetCurrentProcess(), &info, sizeof(info));
-    return (long)(info.PeakWorkingSetSize >> 10);
+    PROCESS_MEMORY_COUNTERS info;
+    GetProcessMemoryInfo(GetCurrentProcess(), &info, sizeof(info));
+    return (long)(info.PeakWorkingSetSize >> 10);
 }
 
 #endif



More information about the Ecm-commits mailing list