diff options
author | Strangerke | 2012-06-18 08:24:33 +0200 |
---|---|---|
committer | Strangerke | 2012-06-18 08:24:33 +0200 |
commit | e8a6f61f8815fcf36e7a43383695c74b8925993f (patch) | |
tree | 26f532bc477fe29ebe304b262af69ceb7ef931d2 /engines/tony/utils.cpp | |
parent | bb55045cc85e1c9b70bd7267de0b578e6662725b (diff) | |
download | scummvm-rg350-e8a6f61f8815fcf36e7a43383695c74b8925993f.tar.gz scummvm-rg350-e8a6f61f8815fcf36e7a43383695c74b8925993f.tar.bz2 scummvm-rg350-e8a6f61f8815fcf36e7a43383695c74b8925993f.zip |
TONY: Remove useless void in function declaration
Diffstat (limited to 'engines/tony/utils.cpp')
-rw-r--r-- | engines/tony/utils.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/tony/utils.cpp b/engines/tony/utils.cpp index 6c36781f51..7661c600da 100644 --- a/engines/tony/utils.cpp +++ b/engines/tony/utils.cpp @@ -296,7 +296,7 @@ void RMString::resize(int size, bool bMantain) { /** * Compacts the string to occupy less memory if possible. */ -void RMString::compact(void) { +void RMString::compact() { if (_realLength + 1 > _length) { char *app; @@ -518,7 +518,7 @@ RMDataStream::~RMDataStream() { /** * Close a stream */ -void RMDataStream::close(void) { +void RMDataStream::close() { _length = 0; _pos = 0; } @@ -850,7 +850,7 @@ RMRect::RMRect() { setEmpty(); } -void RMRect::setEmpty(void) { +void RMRect::setEmpty() { _x1 = _y1 = _x2 = _y2 = 0; } @@ -981,7 +981,7 @@ bool RMRect::operator!=(const RMRect &rc) { return ((_x1 != rc._x1) || (_y1 != rc._y1) || (_x2 != rc._x2) || (_y2 != rc._y2)); } -void RMRect::normalizeRect(void) { +void RMRect::normalizeRect() { setRect(MIN(_x1, _x2), MIN(_y1, _y2), MAX(_x1, _x2), MAX(_y1, _y2)); } |