sysctl: move hashmap allocation out of main function
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Jan 2020 12:05:32 +0000 (13:05 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Jan 2020 13:45:37 +0000 (14:45 +0100)
commitb2ae4d9eb85f80d639733e0ff140c5fa8cae71ab
tree7de3a2ef7bb90eeb5f9fe83ba78ebd4fe164853e
parente76c60bf2a2bfd4193accadb7d29e2ac8f659623
sysctl: move hashmap allocation out of main function

This allocation is a low level detail, and it seems nicer to keep it
out of run().
src/sysctl/sysctl.c