Commit dd6e31d7e33e64ea324b0afe932b3a509d7d963e

Stefan Sperling 2022-06-17T10:29:12

fix build of tog on sparc64 with -Werror error was tog/tog.c:636: warning: function declaration isn't a prototype

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tog/tog.c b/tog/tog.c
index 253f99f..3a68d82 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -632,7 +632,7 @@ tog_sigterm(int signo)
 }
 
 static int
-tog_fatal_signal_received()
+tog_fatal_signal_received(void)
 {
 	return (tog_sigpipe_received ||
 	    tog_sigint_received || tog_sigint_received);