Author: gedmurphy
Date: Wed Apr 8 18:31:29 2015
New Revision: 67101
URL:
http://svn.reactos.org/svn/reactos?rev=67101&view=rev
Log:
[SERVMAN]
- Fix that gcc doesn't support c99
- According to Christoph, this should fix the gcc build. If not, blame him.
Modified:
trunk/reactos/base/applications/mscutils/CMakeLists.txt
trunk/reactos/base/applications/mscutils/servman/control.c
Modified: trunk/reactos/base/applications/mscutils/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mscutils/CMakeLists.txt [iso-8859-1] Wed Apr 8
18:31:29 2015
@@ -1,3 +1,4 @@
add_subdirectory(devmgmt)
add_subdirectory(eventvwr)
+add_subdirectory(servman)
Modified: trunk/reactos/base/applications/mscutils/servman/control.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/servman/control.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mscutils/servman/control.c [iso-8859-1] Wed Apr 8
18:31:29 2015
@@ -25,7 +25,7 @@
DWORD OldCheckPoint;
DWORD WaitTime;
DWORD MaxWait;
- DWORD ReqState;
+ DWORD ReqState, i;
BOOL Result;
/* Set the state we're interested in */
@@ -91,7 +91,7 @@
else if (WaitTime > 10000) WaitTime = 10000;
/* We don't wanna wait for up to 10 secs without incrementing */
- for (int i = WaitTime / 1000; i > 0; i--)
+ for (i = WaitTime / 1000; i > 0; i--)
{
Sleep(1000);
if (hProgress)