diff options
author | Gleydson Soares <gsoares@cvs.openbsd.org> | 2016-10-10 02:23:00 +0000 |
---|---|---|
committer | Gleydson Soares <gsoares@cvs.openbsd.org> | 2016-10-10 02:23:00 +0000 |
commit | 0e13a6a885c413ddcdafa8fd899a1dc91c753c9a (patch) | |
tree | 9ae61bf0a2445d04069f535926c14d019264d770 /usr.sbin/rtadvd | |
parent | b74ea6cf2fe860f6686fd5315da63f460b2b19bb (diff) |
- 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@
Diffstat (limited to 'usr.sbin/rtadvd')
0 files changed, 0 insertions, 0 deletions