summaryrefslogtreecommitdiff
path: root/benchmarks/dkftpbench/files/patch-Platoon.h
blob: ab34a9438253f31f4f007106b4aeee38c83c4305 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- Platoon.h.orig	2002-02-13 05:06:01 UTC
+++ Platoon.h
@@ -1,13 +1,11 @@
 #ifndef Platoon_H
 #define Platoon_H
 #include "robouser.h"
-#include <list.h>
+#include <list>
 
 /* FIXME: 'reasonable' upper bound on number of users CPU can handle */
 #define Platoon_MAXUSERS (1 << 16)
 
-enum robouser_t::state_t;
-
 /**----------------------------------------------------------------------
  Platoon of robousers.
 ----------------------------------------------------------------------*/
@@ -150,7 +148,7 @@ private:
 	robouser_t *m_users[Platoon_MAXUSERS];
 
 	/** List of dead robousers waiting to be reaped */
-	list<robouser_t *> m_deadlist;
+	std::list<robouser_t *> m_deadlist;
 
 	/** Health: count of bytes fetched so far from all files */
 	size_t m_bytesFetched;