aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 19b3984..7c33919 100644
--- a/src/main.c
+++ b/src/main.c
@@ -71,7 +71,7 @@ void initconf(void) {
conf.has_read_stdin = false;
}
-void clearstdin() {
+void clearstdin(void) {
// from
// https://stackoverflow.com/questions/7898215/how-to-clear-input-buffer-in-c
fseek(stdin, 0, SEEK_END);