Up to [local] / src / usr.bin / pkill
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_1_BASE
Revision 1.39 / (download) - annotate - [select for diffs], Mon Oct 10 02:22:59 2016 UTC (7 years, 7 months ago) by gsoares
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.38: +17 -20 lines
Diff to previous 1.38 (colored)
- 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@