Remove cmd_main(). Patch by Lee Schroeder.
Thanks!

CORE-7205 #resolve #comment Committed in r59101.

svn path=/trunk/; revision=59101
This commit is contained in:
Eric Kohl 2013-05-29 10:56:25 +00:00
parent 318eca778f
commit d14ba6a267
4 changed files with 3 additions and 11 deletions

View file

@ -38,7 +38,6 @@ list(APPEND SOURCE
internal.c internal.c
label.c label.c
locale.c locale.c
main.c
memory.c memory.c
misc.c misc.c
mklink.c mklink.c

View file

@ -1815,7 +1815,7 @@ static VOID Cleanup()
/* /*
* main function * main function
*/ */
int cmd_main (int argc, const TCHAR *argv[]) int _tmain(int argc, const TCHAR *argv[])
{ {
HANDLE hConsole; HANDLE hConsole;
TCHAR startPath[MAX_PATH]; TCHAR startPath[MAX_PATH];

View file

@ -114,7 +114,6 @@ BOOL SubstituteForVars(TCHAR *Src, TCHAR *Dest);
LPTSTR DoDelayedExpansion(LPTSTR Line); LPTSTR DoDelayedExpansion(LPTSTR Line);
INT DoCommand(LPTSTR first, LPTSTR rest, struct _PARSED_COMMAND *Cmd); INT DoCommand(LPTSTR first, LPTSTR rest, struct _PARSED_COMMAND *Cmd);
BOOL ReadLine(TCHAR *commandline, BOOL bMore); BOOL ReadLine(TCHAR *commandline, BOOL bMore);
int cmd_main (int argc, const TCHAR *argv[]);
extern HANDLE CMD_ModuleHandle; extern HANDLE CMD_ModuleHandle;

View file

@ -1,6 +0,0 @@
#include "precomp.h"
int _tmain (int argc, const TCHAR *argv[])
{
return cmd_main(argc, argv);
}