From 218ad0e3c4f3a856433faddb8efc3eac95af2e11 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Tue, 30 Apr 2019 20:06:20 +0200 Subject: [PATCH] Clean up dthread.cpp --- Source/dthread.cpp | 5 ++--- Source/dthread.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/dthread.cpp b/Source/dthread.cpp index ed4304495..fb0c061e2 100644 --- a/Source/dthread.cpp +++ b/Source/dthread.cpp @@ -4,8 +4,8 @@ #ifdef __cplusplus static CCritSect sgMemCrit; #endif -unsigned int glpDThreadId; // idb -TMegaPkt *sgpInfoHead; /* may not be right struct */ +unsigned int glpDThreadId; +TMegaPkt *sgpInfoHead; /* may not be right struct */ BOOLEAN dthread_running; HANDLE sghWorkToDoEvent; @@ -122,7 +122,6 @@ unsigned int __stdcall dthread_handler(void *unused) return 0; } -// 679730: using guessed type int gdwDeltaBytesSec; void dthread_cleanup() { diff --git a/Source/dthread.h b/Source/dthread.h index b204f723f..49e1704c8 100644 --- a/Source/dthread.h +++ b/Source/dthread.h @@ -2,7 +2,7 @@ #ifndef __DTHREAD_H__ #define __DTHREAD_H__ -extern unsigned int glpDThreadId; // idb +extern unsigned int glpDThreadId; extern BOOLEAN dthread_running; void dthread_remove_player(int pnum);