From: Peter Howkins Date: Thu, 28 Jun 2018 03:09:20 +0000 (+0100) Subject: dtcalc: Change to ANSI function definitions X-Git-Tag: 2.3.0a~361 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7936fae07b98dc16693ab17caa9e141f0ca17bd9;p=oweals%2Fcde.git dtcalc: Change to ANSI function definitions --- diff --git a/cde/programs/dtcalc/mp.c b/cde/programs/dtcalc/mp.c index d107ff68..8e7b9e29 100644 --- a/cde/programs/dtcalc/mp.c +++ b/cde/programs/dtcalc/mp.c @@ -1633,8 +1633,7 @@ L130: void -mpdiv(x, y, z) -int *x, *y, *z ; +mpdiv(int *x, int *y, int *z) { static int i, i2, ie, iz3 ; diff --git a/cde/programs/dtcalc/text.c b/cde/programs/dtcalc/text.c index 147ce8b3..bd647720 100644 --- a/cde/programs/dtcalc/text.c +++ b/cde/programs/dtcalc/text.c @@ -65,7 +65,7 @@ char *vstrs[MAXVMESS] ; void -init_cmdline_opts() /* Initialize command line option strings. */ +init_cmdline_opts(void) /* Initialize command line option strings. */ { cmdstr[(int) CMD_ACC] = "-a" ; cmdstr[(int) CMD_MODE] = "-m" ; @@ -78,7 +78,7 @@ init_cmdline_opts() /* Initialize command line option strings. */ void -init_text() /* Setup text strings depending upon language. */ +init_text(void) /* Setup text strings depending upon language. */ { int i ; @@ -640,7 +640,7 @@ init_text() /* Setup text strings depending upon language. */ } void -init_mess() /* Setup text strings depending upon language. */ +init_mess(void) /* Setup text strings depending upon language. */ { int i ;