CVSROOT: /cvs Module name: src Changes by: gsoa...@cvs.openbsd.org 2016/10/09 20:22:59
Modified files: usr.bin/pkill : pkill.c Log message: - mark delim variable as const. it is a literal string; - no need to declare main() prototype; - mark all functions as static; - add __dead marker to usage(), since it doesn't return; - zap extern *optarg/optind in main(), It is already done in unistd.h; - return from main instead of exit(3) that enables stack protector; - fix err() eval in pledge()s error path. OK millert@