test/l2test.c:106:12: error: ‘encrypt’ redeclared as different kind of symbol
In file included from test/l2test.c:30:0:
/usr/include/unistd.h:1147:13: note: previous declaration of ‘encrypt’ was here
static int rfcmode = 0;
static int master = 0;
static int auth = 0;
-static int encrypt = 0;
+static int encr = 0;
static int secure = 0;
static int socktype = SOCK_SEQPACKET;
static int linger = 0;
opt |= L2CAP_LM_MASTER;
if (auth)
opt |= L2CAP_LM_AUTH;
- if (encrypt)
+ if (encr)
opt |= L2CAP_LM_ENCRYPT;
if (secure)
opt |= L2CAP_LM_SECURE;
opt |= L2CAP_LM_MASTER;
if (auth)
opt |= L2CAP_LM_AUTH;
- if (encrypt)
+ if (encr)
opt |= L2CAP_LM_ENCRYPT;
if (secure)
opt |= L2CAP_LM_SECURE;
break;
case 'E':
- encrypt = 1;
+ encr = 1;
break;
case 'S':
static int master = 0;
static int auth = 0;
-static int encrypt = 0;
+static int encr = 0;
static int secure = 0;
static int socktype = SOCK_STREAM;
static int linger = 0;
opt |= RFCOMM_LM_MASTER;
if (auth)
opt |= RFCOMM_LM_AUTH;
- if (encrypt)
+ if (encr)
opt |= RFCOMM_LM_ENCRYPT;
if (secure)
opt |= RFCOMM_LM_SECURE;
opt |= RFCOMM_LM_MASTER;
if (auth)
opt |= RFCOMM_LM_AUTH;
- if (encrypt)
+ if (encr)
opt |= RFCOMM_LM_ENCRYPT;
if (secure)
opt |= RFCOMM_LM_SECURE;
break;
case 'E':
- encrypt = 1;
+ encr = 1;
break;
case 'S':