aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schwindl <schwindl@posteo.de>2022-08-18 14:55:19 +0000
committerRomain Gonçalves <me@rgoncalves.se>2024-05-12 21:20:51 +0200
commit08978f8b41a1969479813f5dff922a3dee724178 (patch)
tree8411bc3c0f1ee22581fef1680b25b0499cd9005c
parentcdac29252cdbcc494525fdaba3cbb57f774c6f5c (diff)
downloadst-08978f8b41a1969479813f5dff922a3dee724178.tar.gz
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);
remember that computers suck.