summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-25 09:26:17 +0100
committerraveit65 <[email protected]>2020-12-01 12:22:18 +0100
commit215134c0a49dc5334403653fa25734db5ea955df (patch)
tree02c05f7b46012836fc300d35ec92471d44a84c08 /src
parent08822db9459e8de1ed0450514166af67f331aa92 (diff)
downloadmate-calc-215134c0a49dc5334403653fa25734db5ea955df.tar.bz2
mate-calc-215134c0a49dc5334403653fa25734db5ea955df.tar.xz
Remove warning about unused parameters in `ìnt main` function
Diffstat (limited to 'src')
-rw-r--r--src/mate-calc-cmd.c2
-rw-r--r--src/test-mp-equation.c2
-rw-r--r--src/test-mp.c2
3 files changed, 3 insertions, 3 deletions
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");