Fix windows compilation. Move declaration of variables to start of scope.
Do not give warnings about using POSIX functions.
Removed return statement from void functions.
Fix signed/unsigned issue. This fixes a potential bug where the offset might have overflown, since a negation of an unsigned value was attempted.
Added missing include, needed by sqrt.
Fixed some signed/unsigned warnings.
Added cast to float.
Merge pull request #405 from perroe/windows_compilation

Windows compilation
Merge pull request #406 from perroe/fix_windows_warnings

Fix windows warnings
ERT-480: Added optional offset argument to point_fprintf().
ERT-480: Added tetrahedron_fprintf function.
ERT-480: Added NTG and MULTPV checks in grid volume checks.
ERT-480: Added method cell_regular.
ERT-480: Reformat slightly.
ERT-480: Added header for ecl_grid_regular1() functions.
ERT-480: Changed cell contains implementation to only consider simple planes for each cell.
ERT-480: Added assert.
ERT-480: Added assert_center before accessing cell depth.
ERT-480: Removed unused variables.
Merge pull request #407 from joakim-hove/ERT-480-submit

Ert 480 submit