]> Sergey Matveev's repositories - st.git/commitdiff
st: use `void' to indicate an empty parameter list
authorTom Schwindl <schwindl@posteo.de>
Thu, 18 Aug 2022 14:55:19 +0000 (14:55 +0000)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Thu, 18 Aug 2022 15:14:10 +0000 (17:14 +0200)
st.c

diff --git a/st.c b/st.c
index 6ba467d7cc903d90f1aa1b5aa01da592ad1b30e6..62def59f17cbf1bfd841210453ba29e5578d5610 100644 (file)
--- a/st.c
+++ b/st.c
@@ -939,7 +939,7 @@ ttyresize(int tw, int th)
 }
 
 void
-ttyhangup()
+ttyhangup(void)
 {
        /* Send SIGHUP to shell */
        kill(pid, SIGHUP);