Mercurial > geeqie.yaz
diff src/exiv2.cc @ 609:b690cecbf5b8
Use function(void) instead of function() for declaring functions which
do not take any parameters at all.
It respects current Geeqie coding style more.
author | zas_ |
---|---|
date | Fri, 09 May 2008 07:32:30 +0000 |
parents | 905688aa2317 |
children | 913eb0ba99a6 |
line wrap: on
line diff
--- a/src/exiv2.cc Thu May 08 22:59:14 2008 +0000 +++ b/src/exiv2.cc Fri May 09 07:32:30 2008 +0000 @@ -707,7 +707,7 @@ delete cr2Header; } -RawFile::~RawFile() +RawFile::~RawFile(void) { if (map_data && munmap(map_data, map_len) == -1) { @@ -729,7 +729,7 @@ return NULL; } -unsigned long RawFile::preview_offset() +unsigned long RawFile::preview_offset(void) { const Value *val; if (offset) return offset;