Get rid of err.h as it is not portable
authorAaron Marcher <me@drkhsh.at>
Wed, 28 Mar 2018 16:26:56 +0000 (18:26 +0200)
committerAaron Marcher <me@drkhsh.at>
Wed, 28 Mar 2018 16:26:56 +0000 (18:26 +0200)
commit96f3a8a54eeb3b2294ed953dad8b15349f3e2703
tree26446375bc7c3e64769c1da43b37671da77e80ed
parentaced8326228ea3cf1673828a6e488b8f75108f45
Get rid of err.h as it is not portable

Replace warn() and warnx() with fprintf() and add <stdio.h> where
necessary.
13 files changed:
components/battery.c
components/disk.c
components/hostname.c
components/ip.c
components/keyboard_indicators.c
components/load_avg.c
components/num_files.c
components/run_command.c
components/swap.c
components/user.c
components/volume.c
components/wifi.c
util.c