checkbufferoverrun: cleaned up the header includes

This commit is contained in:
Daniel Marjamäki 2009-02-11 05:16:10 +00:00
parent 946770b119
commit 7858ac9ab8
3 changed files with 10 additions and 3 deletions

View File

@ -94,7 +94,7 @@ install: cppcheck
###### Build ###### Build
src/checkbufferoverrun.o: src/checkbufferoverrun.cpp src/checkbufferoverrun.h src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkbufferoverrun.o: src/checkbufferoverrun.cpp src/checkbufferoverrun.h src/settings.h src/tokenize.h src/errorlogger.h src/token.h
g++ $(CXXFLAGS) -c -o src/checkbufferoverrun.o src/checkbufferoverrun.cpp g++ $(CXXFLAGS) -c -o src/checkbufferoverrun.o src/checkbufferoverrun.cpp
src/checkclass.o: src/checkclass.cpp src/checkclass.h src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkclass.o: src/checkclass.cpp src/checkclass.h src/tokenize.h src/settings.h src/errorlogger.h src/token.h

View File

@ -23,6 +23,9 @@
#include "checkbufferoverrun.h" #include "checkbufferoverrun.h"
#include "tokenize.h"
#include "errorlogger.h"
#include <algorithm> #include <algorithm>
#include <sstream> #include <sstream>
#include <list> #include <list>

View File

@ -23,8 +23,12 @@
#define CheckBufferOverrunH #define CheckBufferOverrunH
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#include "tokenize.h" #include "settings.h"
#include "errorlogger.h" #include <list>
class ErrorLogger;
class Token;
class Tokenizer;
class CheckBufferOverrunClass class CheckBufferOverrunClass
{ {