Skip to content

Commit

Permalink
- Move f2c.h includes to implementation files. Should not be part of …
Browse files Browse the repository at this point in the history
…the default headers.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15753 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 6, 2013
1 parent cf01109 commit 11e27ea
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
1 change: 1 addition & 0 deletions SimulationRuntime/c/simulation/solver/dassl.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include "model_help.h"

#include "dassl.h"
#include "f2c.h"

static const char *dasslMethodStr[DASSL_MAX] = {"unknown",
"dassl",
Expand Down
2 changes: 2 additions & 0 deletions SimulationRuntime/c/simulation/solver/linearSystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
#include "omc_error.h"
#include "linearSystem.h"
#include "linearSolverLapack.h"
#include "blaswrap.h"
#include "f2c.h"

/*! \fn int allocatelinearSystem(DATA *data)
*
Expand Down
3 changes: 0 additions & 3 deletions SimulationRuntime/c/simulation/solver/linearSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
extern "C" {
#endif

#include "blaswrap.h"
#include "f2c.h"

#ifdef VOID
#undef VOID
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

#include "nonlinearSystem.h"
#include "nonlinearSolverNewton.h"
#include "f2c.h"

typedef struct DATA_NEWTON
{
Expand Down
4 changes: 4 additions & 0 deletions SimulationRuntime/c/simulation/solver/nonlinearSystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
#include "kinsolSolver.h"
#include "nonlinearSolverHybrd.h"
#include "nonlinearSolverNewton.h"
#include "blaswrap.h"
#include "f2c.h"

extern doublereal enorm_(integer *n, doublereal *x);

/*! \fn int allocateNonlinearSystem(DATA *data)
*
Expand Down
5 changes: 0 additions & 5 deletions SimulationRuntime/c/simulation/solver/nonlinearSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,10 @@
extern "C" {
#endif

#include "blaswrap.h"
#include "f2c.h"

#ifdef VOID
#undef VOID
#endif

extern doublereal enorm_(integer *n, doublereal *x);

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 11e27ea

Please sign in to comment.