Skip to content

Commit

Permalink
Never define function implementations in headers. Use macros or somet…
Browse files Browse the repository at this point in the history
…hing.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17104 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Sep 6, 2013
1 parent 0651b8d commit 8c35341
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions SimulationRuntime/c/optimization/interfaceOptimization.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,6 @@
int startIpopt(DATA * data,SOLVER_INFO * solverInfo, int flag);
int destroyIpopt(SOLVER_INFO* solverInfo);

#else

int startIpopt(DATA* data, SOLVER_INFO* solverInfo, int flag){return -1;}
int destroyIpopt(SOLVER_INFO* solverInfo){return -1;}

#endif


Expand Down

0 comments on commit 8c35341

Please sign in to comment.