1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-25 02:49:52 +03:00

Resolve "Implicit declaration of function warning" when compiling Console.c and BridgeUnix.c

This commit is contained in:
You Xiaojie 2017-10-21 16:19:20 +08:00
parent fd7707d95a
commit 975debfed4
2 changed files with 7 additions and 0 deletions

View File

@ -186,6 +186,7 @@ struct CAPTUREBLOCK{
// Function prototype
void FreeTap(VLAN *v);
void InitEth();
void FreeEth();
bool IsEthSupported();

View File

@ -2048,7 +2048,13 @@ bool PasswordPrompt(char *password, UINT size)
else if (c == 0xE0)
{
// Read one more character
#ifdef OS_WIN32
c = getch();
#else // OS_WIN32
c = getc(stdin);
#endif // OS_WIN32
if (c == 0x4B || c == 0x53)
{
// Backspace