sbin/hammer2: Move hammer2_demon() to cmd_service.c
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 12 Sep 2019 19:26:41 +0000 (04:26 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 13 Sep 2019 16:06:32 +0000 (01:06 +0900)
commitff05496f5c8926c97edf2a5d56055f1f7794e479
tree8d66e80baaaf7e6ed3c5cffd31e264652922ff6d
parentb13222e636c32881950d4389a52d1de098ed058c
sbin/hammer2: Move hammer2_demon() to cmd_service.c

Remove dependencies (global variables and pthread) from subs.c
to make it usable from newfs_hammer2(8) which defines several
duplicated functions.
sbin/hammer2/cmd_service.c
sbin/hammer2/subs.c