X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=libctsupport%2Fsyserror.cpp;h=e59449f0161c5695a4efa4b471f5af34acadbc12;hb=1e88cf0f7fa4f690ea9f110e8ed3f2b5338d0a10;hp=b5981b1c16fd7f5928706370516c7a5701dab844;hpb=5cf6874680f80d238bf34535d711dc223813f951;p=ctsim.git diff --git a/libctsupport/syserror.cpp b/libctsupport/syserror.cpp index b5981b1..e59449f 100644 --- a/libctsupport/syserror.cpp +++ b/libctsupport/syserror.cpp @@ -2,7 +2,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: syserror.cpp,v 1.2 2000/06/19 17:58:20 kevin Exp $ +** $Id: syserror.cpp,v 1.4 2000/08/25 15:59:13 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -23,8 +23,7 @@ #include #include #include -#include "kstddef.h" -#include "cio.h" +#include "ctsupport.h" /* NAME @@ -59,7 +58,7 @@ const static int MAX_ERROR_COUNT = 20; void sys_verror (int severity, const char *msg, va_list arg) { if (severity < errorlevel) - return; /* ignore error if less than max level */ + return; // ignore error if less than max level nErrorCount++; if (severity != ERR_FATAL) {