aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Schwindl <schwindl@posteo.de>2022-08-18 14:55:19 +0000
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-08-18 17:14:10 +0200
commit72fd32736a612edec43596c14148322122a5544d (patch)
tree53ebf40d2b92167adcddd86646b2ada0b4a0e644
parentbaa9357e96d2478baa52a3301e70ac80a229b726 (diff)
downloadst-72fd32736a612edec43596c14148322122a5544d.tar.gz
st-72fd32736a612edec43596c14148322122a5544d.tar.bz2
st-72fd32736a612edec43596c14148322122a5544d.zip
st: use `void' to indicate an empty parameter list
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 6ba467d..62def59 100644
--- 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);