Remove sysstuff.h includes from headers
authorTeemu Murtola <teemu.murtola@gmail.com>
Sun, 13 Apr 2014 07:05:14 +0000 (10:05 +0300)
committerRoland Schulz <roland@rschulz.eu>
Wed, 16 Apr 2014 01:45:30 +0000 (03:45 +0200)
commit58226aeaa1676ae3c1669953caa340cee24ce556
tree1451e2d7ebf611dc08f6d3c7219a2146a6a3f47e
parent8a9449370c3148c3a82d107bece893d85b4a005a
Remove sysstuff.h includes from headers

Remove #include "sysstuff.h" from all headers, and replace it with
standard headers where necessary.  Add necessary standard headers to
source files that previously got them transitively from one of these.

Use snew() in gmx_spatial.c instead of a custom implementation.
Replace some free() with sfree().

Part of getting rid of sysstuff.h.

Change-Id: I857ba69c004aea16195e629c5bf69df32724b3fc
55 files changed:
src/gromacs/fileio/enxio.c
src/gromacs/fileio/pdbio.h
src/gromacs/gmxana/geminate.c
src/gromacs/gmxana/gmx_anadock.c
src/gromacs/gmxana/gmx_cluster.c
src/gromacs/gmxana/gmx_current.c
src/gromacs/gmxana/gmx_disre.c
src/gromacs/gmxana/gmx_eneconv.c
src/gromacs/gmxana/gmx_energy.c
src/gromacs/gmxana/gmx_rms.c
src/gromacs/gmxana/gmx_spatial.c
src/gromacs/gmxana/gmx_tune_pme.c
src/gromacs/gmxana/powerspect.c
src/gromacs/gmxlib/checkpoint.c
src/gromacs/gmxlib/gmx_detect_hardware.c
src/gromacs/gmxlib/mtop_util.c
src/gromacs/gmxlib/network.c
src/gromacs/gmxlib/sighandler.c
src/gromacs/gmxlib/splitter.c
src/gromacs/gmxlib/txtdump.c
src/gromacs/gmxlib/typedefs.c
src/gromacs/gmxlib/viewit.c
src/gromacs/gmxpreprocess/calc_verletbuf.c
src/gromacs/gmxpreprocess/gen_vsite.c
src/gromacs/gmxpreprocess/h_db.h
src/gromacs/gmxpreprocess/hackblock.c
src/gromacs/gmxpreprocess/readadress.c
src/gromacs/gmxpreprocess/sortwater.c
src/gromacs/gmxpreprocess/ter_db.h
src/gromacs/imd/imd.c
src/gromacs/imd/imdsocket.c
src/gromacs/legacyheaders/chargegroup.h
src/gromacs/legacyheaders/disre.h
src/gromacs/legacyheaders/ebin.h
src/gromacs/legacyheaders/macros.h
src/gromacs/legacyheaders/mdebin.h
src/gromacs/legacyheaders/ns.h
src/gromacs/legacyheaders/orires.h
src/gromacs/legacyheaders/pbc.h
src/gromacs/legacyheaders/rbin.h
src/gromacs/legacyheaders/typedefs.h
src/gromacs/legacyheaders/types/inputrec.h
src/gromacs/legacyheaders/vcm.h
src/gromacs/legacyheaders/vec.h
src/gromacs/legacyheaders/xvgr.h
src/gromacs/mdlib/clincs.c
src/gromacs/mdlib/constr.c
src/gromacs/mdlib/ewald.c
src/gromacs/mdlib/mdebin.c
src/gromacs/mdlib/nbnxn_atomdata.c
src/gromacs/mdlib/pme.c
src/gromacs/mdlib/shellfc.c
src/gromacs/selection/centerofmass.cpp
src/gromacs/selection/indexutil.cpp
src/gromacs/timing/wallcycle.c