summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Schwindl <schwindl@posteo.de>2022-08-18 14:55:19 +0000
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-05-08 00:48:00 +0200
commit05fb7587ede0790489e5a912182e0c79bc338708 (patch)
tree0cad298c4079da22b72232c042e265851cae9b85
parentb40e01e0550e6e796c74a49583e1bbbf479d0199 (diff)
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 06c6f5e..614845f 100644
--- a/st.c
+++ b/st.c
@@ -952,7 +952,7 @@ ttyresize(int tw, int th)
}
void
-ttyhangup()
+ttyhangup(void)
{
/* Send SIGHUP to shell */
kill(pid, SIGHUP);