From 2e464d643550d8fdf3d83f99a10431a1951eb570 Mon Sep 17 00:00:00 2001 From: Etienne Brateau <etienne.brateau@ensiie.fr> Date: Mon, 4 Feb 2019 21:53:00 +0100 Subject: [PATCH] Remove some unneeded forward declarations --- include/log.h | 2 +- src/log.c | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/include/log.h b/include/log.h index e713b26..15e5be7 100644 --- a/include/log.h +++ b/include/log.h @@ -8,7 +8,7 @@ #include "node.h" void pen(); -void report(short num, char *s); +void report(int num, char *s); void log_setmode(const char *s); void strwordx(char *buf, char *wrd); long getint(char *s, long def); diff --git a/src/log.c b/src/log.c index feb0626..af72f37 100644 --- a/src/log.c +++ b/src/log.c @@ -32,6 +32,8 @@ */ #define TOOL_KIND +#include "log.h" + #include <unistd.h> #include <time.h> #include <stdlib.h> @@ -349,13 +351,6 @@ int glowsolder; ///< Display solder dots in Glow mode int vlsi; ///< Current page is VLSI mode -void m_saveclip (); - -void nc_cursor_on (); - -void nc_cursor_off (); - - static char *ioresult_message(char *Result, long iores) { char s[81]; @@ -364,8 +359,6 @@ static char *ioresult_message(char *Result, long iores) return strcpy(Result, s); } -void message (char *msg); - /// Report an internal error. void report(int num, char *s) { -- GitLab