]> git.ipfire.org Git - thirdparty/libbsd.git/commit
Modify setproctitle() to conform to project coding style
authorGuillem Jover <guillem@hadrons.org>
Sun, 25 Nov 2012 20:10:53 +0000 (21:10 +0100)
committerGuillem Jover <guillem@hadrons.org>
Mon, 27 May 2013 01:20:17 +0000 (03:20 +0200)
commit35785f8dd1be73ef8e08c18a88e77e00fe332b6c
treed585887f173b3ef29cfb8f4cd78cc49e4213c938
parent2a0260d08c5f9ecc43fef99c4e180c0d977deba5
Modify setproctitle() to conform to project coding style

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.
COPYING
configure.ac
src/setproctitle.c