Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/benchmarks/dkftpbench/files/patch-Platoon.h
16466 views
1
--- Platoon.h.orig 2002-02-13 05:06:01 UTC
2
+++ Platoon.h
3
@@ -1,13 +1,12 @@
4
#ifndef Platoon_H
5
#define Platoon_H
6
#include "robouser.h"
7
-#include <list.h>
8
+#include <list>
9
+#include <cstring>
10
11
/* FIXME: 'reasonable' upper bound on number of users CPU can handle */
12
#define Platoon_MAXUSERS (1 << 16)
13
14
-enum robouser_t::state_t;
15
-
16
/**----------------------------------------------------------------------
17
Platoon of robousers.
18
----------------------------------------------------------------------*/
19
@@ -150,7 +149,7 @@ private:
20
robouser_t *m_users[Platoon_MAXUSERS];
21
22
/** List of dead robousers waiting to be reaped */
23
- list<robouser_t *> m_deadlist;
24
+ std::list<robouser_t *> m_deadlist;
25
26
/** Health: count of bytes fetched so far from all files */
27
size_t m_bytesFetched;
28
29