Author: akhaldi
Date: Mon Jan 13 12:57:08 2014
New Revision: 61607
URL:
http://svn.reactos.org/svn/reactos?rev=61607&view=rev
Log:
[TCPSVCS]
* Remove one time inclusions from the main header and put them back where they belong.
CORE-7716
Modified:
trunk/reactos/base/services/tcpsvcs/daytime.c
trunk/reactos/base/services/tcpsvcs/qotd.c
trunk/reactos/base/services/tcpsvcs/tcpsvcs.c
trunk/reactos/base/services/tcpsvcs/tcpsvcs.h
Modified: trunk/reactos/base/services/tcpsvcs/daytime.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/tcpsvcs/dayt…
==============================================================================
--- trunk/reactos/base/services/tcpsvcs/daytime.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/tcpsvcs/daytime.c [iso-8859-1] Mon Jan 13 12:57:08 2014
@@ -8,6 +8,8 @@
*/
#include "tcpsvcs.h"
+
+#include <time.h>
static BOOL
SendTime(SOCKET sock, CHAR *time)
Modified: trunk/reactos/base/services/tcpsvcs/qotd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/tcpsvcs/qotd…
==============================================================================
--- trunk/reactos/base/services/tcpsvcs/qotd.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/tcpsvcs/qotd.c [iso-8859-1] Mon Jan 13 12:57:08 2014
@@ -8,6 +8,8 @@
*/
#include "tcpsvcs.h"
+
+#include <stdlib.h>
static WCHAR szFilePath[] = L"\\drivers\\etc\\quotes";
Modified: trunk/reactos/base/services/tcpsvcs/tcpsvcs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/tcpsvcs/tcps…
==============================================================================
--- trunk/reactos/base/services/tcpsvcs/tcpsvcs.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/tcpsvcs/tcpsvcs.c [iso-8859-1] Mon Jan 13 12:57:08 2014
@@ -9,6 +9,8 @@
#include "tcpsvcs.h"
+#include <winsvc.h>
+
static WCHAR ServiceName[] = L"tcpsvcs";
volatile BOOL bShutdown = FALSE;
Modified: trunk/reactos/base/services/tcpsvcs/tcpsvcs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/tcpsvcs/tcps…
==============================================================================
--- trunk/reactos/base/services/tcpsvcs/tcpsvcs.h [iso-8859-1] (original)
+++ trunk/reactos/base/services/tcpsvcs/tcpsvcs.h [iso-8859-1] Mon Jan 13 12:57:08 2014
@@ -1,13 +1,11 @@
+#include <stdarg.h>
+
#define WIN32_NO_STATUS
-#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
-#include <winsvc.h>
-#include <stdlib.h>
#define _INC_WINDOWS
#include <winsock2.h>
#include <tchar.h>
-#include <time.h>
#ifndef _MSC_VER
#define _swprintf swprintf