remove dublicate definition

Add include text.h
This commit is contained in:
Marios Kyriakou
2018-08-23 14:58:26 +03:00
parent 29aa45febb
commit 8808a01641
2 changed files with 6 additions and 11 deletions

View File

@@ -1,15 +1,10 @@
#include <stdio.h>
#include <string.h>
#include <text.h>
#include "epanet2.h"
#define MAXMSG 255 /* Max. # characters in message text */
#define MAXWARNCODE 99
/* text copied here, no more need of include "text.h" */
#define FMT01 "\nEPANET Version %d.%d.%d"
#define FMT03 "\n Correct syntax is:\n\n\t %s <input file> <report file> <binary output file (optional)>\n"
#define FMT09 "\n\nEPANET completed."
#define FMT10 "\nEPANET completed. There are warnings."
#define FMT11 "\nEPANET completed. There are errors."
void writeConsole(char *s);