HomeFreeBSD

Various cleanups of truss:

Description

Various cleanups of truss:

  1. Missing include.
  2. Constness.
  3. ANSIfication.
  4. Avoid some shadowing.
  5. Add/clarify some error messages.
  6. Some int functions were using return without a value.
  7. Mark some parameters as unused.
  8. Cast a value we know is non-negative to a size_t before comparing.

Details

Provenance
dwmaloneAuthored on Nov 9 2002, 10:46 PM
Parents
rG967706f308a3: Check if name is NULL before we strcmp the syscall name. This was
Branches
Unknown
Tags
Unknown

Event Timeline