mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
Merge PR #632: Cedar: fix implicit function declaration warnings
This commit is contained in:
commit
8a2901f48e
@ -2048,7 +2048,11 @@ 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
|
||||
|
@ -131,6 +131,7 @@ struct VLAN
|
||||
VLAN *NewVLan(char *instance_name, VLAN_PARAM *param);
|
||||
VLAN *NewTap(char *name, char *mac_address, bool create_up);
|
||||
void FreeVLan(VLAN *v);
|
||||
void FreeTap(VLAN *v);
|
||||
CANCEL *VLanGetCancel(VLAN *v);
|
||||
bool VLanGetNextPacket(VLAN *v, void **buf, UINT *size);
|
||||
bool VLanPutPacket(VLAN *v, void *buf, UINT size);
|
||||
|
Loading…
Reference in New Issue
Block a user