Skip to content

Commit 16eee6a

Browse files
committed
nettest_omni: Remove duplicate variable definitions
These defines are already defined in nettest_bsd.c and exported by nettest_bsd.h this should fix build with -fno-common Thanks to Khem Raj [email protected] Relates: HewlettPackard#46 Signed-off-by: Tam Mach <[email protected]>
1 parent 3bc455b commit 16eee6a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/nettest_omni.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -485,14 +485,6 @@ static int client_port_max = 65535;
485485

486486
/* different options for the sockets */
487487

488-
int
489-
loc_nodelay, /* don't/do use NODELAY locally */
490-
rem_nodelay, /* don't/do use NODELAY remotely */
491-
loc_sndavoid, /* avoid send copies locally */
492-
loc_rcvavoid, /* avoid recv copies locally */
493-
rem_sndavoid, /* avoid send copies remotely */
494-
rem_rcvavoid; /* avoid recv_copies remotely */
495-
496488
extern int
497489
loc_tcpcork,
498490
rem_tcpcork,

0 commit comments

Comments
 (0)