* the research papers on the package. Check out http://www.gromacs.org.
*/
/* This file is completely threadsafe - keep it that way! */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "gmxpre.h"
+
+#include "gromacs/legacyheaders/viewit.h"
+
+#include "config.h"
+#include <stdlib.h>
#include <string.h>
-#include "oenv.h"
-#include "viewit.h"
-#include "gromacs/utility/cstringutil.h"
#include "gromacs/fileio/filenm.h"
-#include "macros.h"
-#include "gmx_fatal.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/oenv.h"
+#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/fatalerror.h"
static const int can_view_ftp[] = {
0,
"ghostview", "display", NULL, "xterm -e rasmol"
};
-int can_view(int ftp)
+static int can_view(int ftp)
{
int i;