diff options
author | 2015-01-23 02:37:25 +0000 | |
---|---|---|
committer | 2015-01-23 02:37:25 +0000 | |
commit | dd2fc19c1bcbf43e5acf03814c79377818cdc2e1 (patch) | |
tree | 55354534d03dbaddff98fd0a20a05abdf4b84fe0 /sys/netinet6/raw_ip6.c | |
parent | don't need to define debugging 0 anymore (diff) | |
download | wireguard-openbsd-dd2fc19c1bcbf43e5acf03814c79377818cdc2e1.tar.xz wireguard-openbsd-dd2fc19c1bcbf43e5acf03814c79377818cdc2e1.zip |
Remove the OK and ERR macros. They obfuscate the code and don't
help legibility. (unix system calls use 0 for ok, but hundreds of
other projects use 1 to indicate success.) Despite the name, many
system calls (e.g., open) also return not OK values for success.
It also cleans up some weird code like int crontab_fd = OK - 1;
This diff is mechanical in nature. Later I will fix the bugs it reveals.
ok deraadt
Diffstat (limited to 'sys/netinet6/raw_ip6.c')
0 files changed, 0 insertions, 0 deletions