HomeFreeBSD

MFC r294126:

Description

MFC r294126:

Fix warnings with gcc 5.0

reconnect.c:

  • Convert the K&R prototype of main to an ANSI prototype to mute a warning from gcc 4.2.1
  • Close s_sock2 after finishing off the last test to plug a leak and mute a warning from gcc 5.0 about a -Wunused-but-set variable

sendfile.c:

  • Fix a -Wunused-but-set warning with gcc 5.0 with pagesize in main(..)

Details

Provenance
ngieAuthored on
Parents
rS294485: MFC r294127:
Branches
Unknown
Tags
Unknown