aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-04-13 09:37:24 -0400
committerShav Kinderlehrer <[email protected]>2023-04-13 09:37:24 -0400
commit03d4f4fddff6f6658496ec2b97319e4a0d0d6802 (patch)
treec67153a1786005c216f535d111f0c7e1d22812b8 /src/main.c
parentf1de0cfb8b2c2d71d1776032b63e33090664ec84 (diff)
downloadlat-03d4f4fddff6f6658496ec2b97319e4a0d0d6802.tar.gz
lat-03d4f4fddff6f6658496ec2b97319e4a0d0d6802.zip
Fix stdin bugv0.6.1
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);