Fix more warnings on FreeBSD
diff --git a/src/history/history.c b/src/history/history.c
index 6294e8e..6b8f1d2 100644
--- a/src/history/history.c
+++ b/src/history/history.c
@@ -396,7 +396,7 @@
* Return true if the terminal name is in the list of terminals we know are
* not able to understand basic escape sequences.
*/
-static bool bc_history_isBadTerm() {
+static bool bc_history_isBadTerm(void) {
size_t i;
char *term = getenv("TERM");
@@ -464,7 +464,7 @@
* and return it. On error -1 is returned, on success the position of the
* cursor.
*/
-static size_t bc_history_cursorPos() {
+static size_t bc_history_cursorPos(void) {
char buf[64];
size_t cols, rows, i;
@@ -490,7 +490,7 @@
* Try to get the number of columns in the current terminal, or assume 80
* if it fails.
*/
-static size_t bc_history_columns() {
+static size_t bc_history_columns(void) {
struct winsize ws;
diff --git a/src/num.c b/src/num.c
index 5207af4..7a4d428 100644
--- a/src/num.c
+++ b/src/num.c
@@ -1549,7 +1549,7 @@
return s;
}
-static void bc_num_printNewline() {
+static void bc_num_printNewline(void) {
if (vm->nchars >= (size_t) (vm->line_len - 1)) {
bc_vm_putchar('\\');
bc_vm_putchar('\n');