commit 8cfb4057347c76581c64b02802d4b9608bf56fd2 from: Stefan Sperling date: Tue Jul 09 10:02:33 2019 UTC rename 'struct cmd' to 'struct got_cmd' commit - d70c3147e3d6f13debfe370fa231cb410154f282 commit + 8cfb4057347c76581c64b02802d4b9608bf56fd2 blob - aa4785ee303d42702c7d792697698e69b6b2f4cf blob + f51f008b5b3b03543c35038f7bde5d42c0a6a637 --- got/got.c +++ got/got.c @@ -66,7 +66,7 @@ catch_sigpipe(int signo) } -struct cmd { +struct got_cmd { const char *cmd_name; const struct got_error *(*cmd_main)(int, char *[]); void (*cmd_usage)(void); @@ -107,7 +107,7 @@ static const struct got_error* cmd_commit(int, char * static const struct got_error* cmd_cherrypick(int, char *[]); static const struct got_error* cmd_backout(int, char *[]); -static struct cmd got_commands[] = { +static struct got_cmd got_commands[] = { { "init", cmd_init, usage_init }, { "checkout", cmd_checkout, usage_checkout }, { "update", cmd_update, usage_update }, @@ -129,7 +129,7 @@ static struct cmd got_commands[] = { int main(int argc, char *argv[]) { - struct cmd *cmd; + struct got_cmd *cmd; unsigned int i; int ch; int hflag = 0;