Skip to content
  • Guillem Jover's avatar
    Modify setproctitle() to conform to project coding style · 35785f8d
    Guillem Jover authored
    Use local getprogname()/setprogname() instead of reimplementing them
    locally. Use clearenv() if available, not just on glibc. Use bool
    instead of _Bool. Use paranthesis on sizeof. Fold the SPT_MIN macro
    into spt_min(). Make spt_init() static. Avoid unnecessary gotos.
    35785f8d