summaryrefslogtreecommitdiff
path: root/link/monoplot.c
diff options
context:
space:
mode:
Diffstat (limited to 'link/monoplot.c')
-rwxr-xr-x[-rw-r--r--]link/monoplot.c30
1 files changed, 1 insertions, 29 deletions
diff --git a/link/monoplot.c b/link/monoplot.c
index adcc532..2af1aac 100644..100755
--- a/link/monoplot.c
+++ b/link/monoplot.c
@@ -26,14 +26,13 @@
#include <math.h>
#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");
-}