HomeFreeBSD

MFC r356355: ssp: knock out some trivial warnings that come up with WARNS=6

Description

MFC r356355: ssp: knock out some trivial warnings that come up with WARNS=6

A future commit will rebuild this as part of libssp. The exact warnings are
fairly trivially fixed:

  • No previous declaration for __stack_chk_guard
  • idx is the wrong type, nitems yields a size_t
  • Casting away volatile on the tmp_stack_chk_guard directly is a no-no.

Details

Provenance
kevansAuthored on
Parents
rS356625: MFC 346398 (by thj):
Branches
Unknown
Tags
Unknown