From 215134c0a49dc5334403653fa25734db5ea955df Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 25 Nov 2020 09:26:17 +0100 Subject: =?UTF-8?q?Remove=20warning=20about=20unused=20parameters=20in=20`?= =?UTF-8?q?=C3=ACnt=20main`=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mate-calc-cmd.c | 2 +- src/test-mp-equation.c | 2 +- src/test-mp.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/mate-calc-cmd.c b/src/mate-calc-cmd.c index d8e86ec..9075310 100644 --- a/src/mate-calc-cmd.c +++ b/src/mate-calc-cmd.c @@ -67,7 +67,7 @@ str_adjust(char *str) } int -main(int argc, char **argv) +main(void) { char *equation, *line; diff --git a/src/test-mp-equation.c b/src/test-mp-equation.c index 3e1d993..761deb4 100644 --- a/src/test-mp-equation.c +++ b/src/test-mp-equation.c @@ -683,7 +683,7 @@ test_equations(void) int -main (int argc, char **argv) +main (void) { setlocale(LC_ALL, "C"); diff --git a/src/test-mp.c b/src/test-mp.c index c66185c..1a8c0d7 100644 --- a/src/test-mp.c +++ b/src/test-mp.c @@ -221,7 +221,7 @@ test_mp(void) int -main (int argc, char **argv) +main (void) { setlocale(LC_ALL, "C"); -- cgit v1.2.1