diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2016-10-06 07:19:55 -0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2016-10-06 07:19:55 -0800 |
commit | f4eba6559b202547a7cf4be3e852ddaf9abcd9a7 (patch) | |
tree | fd1f4d5bfa5ef599a8fee1e89c6713271342229a /util.c | |
parent | f3a8d548376295279d2d27fda5764adbe377c55b (diff) |
finish ripping out libnih
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -513,21 +513,3 @@ void memzero_explicit(void *buf, size_t len) void *(* volatile memset_s)(void *s, int c, size_t n) = memset; memset_s(buf, 0, len); } - -/* libnih options: */ - -#include <nih/option.h> -#include <nih/main.h> - -#define PACKAGE_NAME "bcache" -#define PACKAGE_VERSION "1.0" -#define PACKAGE_BUGREPORT "linux-bcache@vger.kernel.org" - -char **bch_nih_init(int argc, char *argv[], NihOption *options) -{ - nih_main_init(argv[0]); - nih_option_set_synopsis(_("Manage bcache devices")); - nih_option_set_help( _("Helps you manage bcache devices")); - - return nih_option_parser(NULL, argc, argv, options, 0); -} |