1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-25 09:39:52 +03:00

Merge PR #632: Cedar: fix implicit function declaration warnings

This commit is contained in:
Davide Beatrici 2018-08-11 07:07:40 +02:00 committed by GitHub
commit 8a2901f48e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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);