commit 575dc3f9456affacd711c081f85e2b41f2544206 from: Omar Polo date: Thu Feb 09 14:07:48 2023 UTC fix gotd and gotsh usage() function declaration "function declaration isn't a prototype" should fix the error seen by tracey@ on sparc64 commit - ae0cca99d4999f67c98e04bf1f806bd1147d9721 commit + 575dc3f9456affacd711c081f85e2b41f2544206 blob - 51069af23874055261175459d6d4d942db02ac41 blob + 36ce2515faf1ac5c49de622315565ce78955f76b --- gotd/gotd.c +++ gotd/gotd.c @@ -105,7 +105,7 @@ static const struct got_error *start_auth_child(struct static void kill_proc(struct gotd_child_proc *, int); __dead static void -usage() +usage(void) { fprintf(stderr, "usage: %s [-dnv] [-f config-file]\n", getprogname()); exit(1); blob - 43dacf20c7b2d23ff032cdb48ebbd511772503bf blob + 155e1d060068073688a48f0ea1b8905b0d7bac1c --- gotsh/gotsh.c +++ gotsh/gotsh.c @@ -36,7 +36,7 @@ static int chattygot; __dead static void -usage() +usage(void) { fprintf(stderr, "usage: %s -c '%s|%s repository-path'\n", getprogname(), GOT_SERVE_CMD_SEND, GOT_SERVE_CMD_FETCH);