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:
parent
fd7707d95a
commit
975debfed4
@ -186,6 +186,7 @@ struct CAPTUREBLOCK{
|
||||
|
||||
|
||||
// Function prototype
|
||||
void FreeTap(VLAN *v);
|
||||
void InitEth();
|
||||
void FreeEth();
|
||||
bool IsEthSupported();
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user