Convert checkpoint.c to C++ compilation
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 21 Jun 2014 04:12:36 +0000 (07:12 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Sat, 21 Jun 2014 06:54:11 +0000 (09:54 +0300)
commiteaeb2800b0dcb95d1eb4af3786b19754891cad22
tree2b3b8af38ab247c057e6d99f2d1909f6dc73182e
parent9789bcb4373ecf9ccd1ea13583c99e831cc6448a
Convert checkpoint.c to C++ compilation

- Remove unused variables.
- Some minor include cleanup.
- Fix some variable types and return value propagation.

The main motivation is that this file is the single caller for
Program(), which has a C++ replacement.  Using that (not done here)
would allow removing the old C function.

Change-Id: I58567ff177d2a2c193f9a926e484c6ff30601661
src/gromacs/gmxlib/checkpoint.cpp [moved from src/gromacs/gmxlib/checkpoint.c with 99% similarity]