[hackers] [st] st: use `void' to indicate an empty parameter list || Tom Schwindl

From: <git_AT_suckless.org>
Date: Thu, 18 Aug 2022 17:14:19 +0200 (CEST)

commit 72fd32736a612edec43596c14148322122a5544d
Author: Tom Schwindl <schwindl_AT_posteo.de>
AuthorDate: Thu Aug 18 14:55:19 2022 +0000
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Thu Aug 18 17:14:10 2022 +0200

    st: use `void' to indicate an empty parameter list

diff --git a/st.c b/st.c
index 6ba467d..62def59 100644
--- a/st.c
+++ b/st.c
_AT_@ -939,7 +939,7 @@ ttyresize(int tw, int th)
 }
 
 void
-ttyhangup()
+ttyhangup(void)
 {
         /* Send SIGHUP to shell */
         kill(pid, SIGHUP);
Received on Thu Aug 18 2022 - 17:14:19 CEST

This archive was generated by hypermail 2.3.0 : Thu Aug 18 2022 - 17:24:36 CEST