From c6739b6427261ac2682a9fca3b23c98df0dc9f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 6 Nov 2015 07:40:42 +0100 Subject: New upstream release --- link/monoplot.c | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) (limited to 'link/monoplot.c') diff --git a/link/monoplot.c b/link/monoplot.c index adcc532..2af1aac 100644 --- a/link/monoplot.c +++ b/link/monoplot.c @@ -26,14 +26,13 @@ #include #include "copyright.h" #include "aconfig.h" +#include "numsup.h" #include "icc.h" #include "plot.h" #include "ui.h" #define PRES 100 -void error(char *fmt, ...), warning(char *fmt, ...); - /* ---------------------------------------- */ void usage(void) { @@ -203,30 +202,3 @@ main( return 0; } -/* ------------------------------------------------ */ -/* Basic printf type error() and warning() routines */ - -void -error(char *fmt, ...) -{ - va_list args; - - fprintf(stderr,"monoplot: Error - "); - va_start(args, fmt); - vfprintf(stderr, fmt, args); - va_end(args); - fprintf(stderr, "\n"); - exit (-1); -} - -void -warning(char *fmt, ...) -{ - va_list args; - - fprintf(stderr,"monoplot: Warning - "); - va_start(args, fmt); - vfprintf(stderr, fmt, args); - va_end(args); - fprintf(stderr, "\n"); -} -- cgit v1.2.3