Commit Diff


commit - b7acbe65b9c3861892ccd85dce82d78aeb285f54
commit + 96d694ac3bc159099a9ad93aa49ec7ac1764b18d
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);