Skip to content

Commit

Permalink
- Renamed error.h to omc_error.h
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11446 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Mar 16, 2012
1 parent 6f0de69 commit 72982a6
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Compiler/susan_codegen/SimCode/CodegenC.tpl
Expand Up @@ -209,7 +209,7 @@ case SIMCODE(modelInfo=MODELINFO(__), extObjInfo=EXTOBJINFO(__)) then
#include "openmodelica_func.h"
#include "simulation_data.h"
#include "simulation_runtime.h"
#include "error.h"
#include "omc_error.h"

#include <assert.h>
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion Compiler/susan_codegen/SimCode/CodegenFMU.tpl
Expand Up @@ -381,7 +381,7 @@ case SIMCODE(__) then
#include "openmodelica.h"
#include "openmodelica_func.h"
#include "simulation_data.h"
#include "error.h"
#include "omc_error.h"
#include "fmiModelTypes.h"
#include "fmiModelFunctions.h"
#include "<%fileNamePrefix%>_functions.h"
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/ModelicaExternalC/tables.c
Expand Up @@ -28,7 +28,7 @@
*
*/

#include "error.h"
#include "omc_error.h"
#include "tables.h"

#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/linearization/linearize.cpp
Expand Up @@ -28,7 +28,7 @@
*
*/

#include "error.h"
#include "omc_error.h"
#include "simulation_data.h"
#include "openmodelica_func.h"
#include "linearize.h"
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/math-support/delay.c
Expand Up @@ -32,7 +32,7 @@
*/

#include "delay.h"
#include "error.h"
#include "omc_error.h"
#include "simulation_data.h"
#include "ringbuffer.h"
#include "openmodelica.h"
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/math-support/initialization.c
Expand Up @@ -33,7 +33,7 @@

#include "initialization.h"
#include "simulation_data.h"
#include "error.h"
#include "omc_error.h"
#include "openmodelica.h"
#include "openmodelica_func.h"
#include "model_help.h"
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/math-support/model_help.c
Expand Up @@ -36,7 +36,7 @@
#include "simulation_data.h"
#include "model_help.h"
#include "openmodelica_func.h"
#include "error.h"
#include "omc_error.h"
#include "delay.h"
#include "varinfo.h"

Expand Down
Expand Up @@ -38,7 +38,7 @@
*
*/

#include "error.h"
#include "omc_error.h"
#include "simulation_result_csv.h"
#include "rtclock.h"

Expand Down
Expand Up @@ -32,7 +32,7 @@
*/

#include "error.h"
#include "omc_error.h"
#include "simulation_result_mat.h"
#include "rtclock.h"

Expand Down
Expand Up @@ -38,7 +38,7 @@
*
*/

#include "error.h"
#include "omc_error.h"
#include "simulation_result_plt.h"
#include "rtclock.h"

Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/simulation/simulation_input_xml.cpp
Expand Up @@ -43,7 +43,7 @@
#include "simulation_input_xml.h"
#include "simulation_runtime.h"
#include "options.h"
#include "error.h"
#include "omc_error.h"

#include <fstream>
#include <iomanip>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/simulation/simulation_runtime.cpp
Expand Up @@ -50,7 +50,7 @@
#include <regex.h>
#endif

#include "error.h"
#include "omc_error.h"
#include "simulation_data.h"
#include "openmodelica_func.h"

Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/simulation/solver/dassl.c
Expand Up @@ -29,7 +29,7 @@
*/

#include "dassl.h"
#include "error.h"
#include "omc_error.h"
#include "simulation_data.h"
#include "simulation_runtime.h"
#include "solver_main.h"
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/simulation/solver/events.c
Expand Up @@ -29,7 +29,7 @@
*/

#include "events.h"
#include "error.h"
#include "omc_error.h"
#include "simulation_data.h"
#include "openmodelica.h" /* for modelica types */
#include "openmodelica_func.h" /* for modelica fucntion */
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/simulation/solver/solver_main.c
Expand Up @@ -40,7 +40,7 @@
* #include "dopri45.h"
*/
#include "rtclock.h"
#include "error.h"
#include "omc_error.h"
#include <math.h>
#include <string.h>
#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/util/division.c
Expand Up @@ -33,7 +33,7 @@
#include <stdlib.h>

#include "division.h"
#include "error.h"
#include "omc_error.h"

modelica_real division_error(modelica_real b, const char* division_str, const char* file, long line)
{
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/util/list.c
Expand Up @@ -36,7 +36,7 @@
*/

#include "list.h"
#include "error.h"
#include "omc_error.h"

#include <memory.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/util/modelinfo.c
Expand Up @@ -28,7 +28,7 @@
*
*/

#include "error.h"
#include "omc_error.h"
#include "simulation_data.h"
#include "rtclock.h"
#include "modelinfo.h"
Expand Down
Expand Up @@ -29,7 +29,7 @@
*
*/

#include "error.h"
#include "omc_error.h"

/* Global JumpBuffer */
jmp_buf globalJmpbuf;
Expand Down
Expand Up @@ -30,8 +30,8 @@
*/


#ifndef ERROR_H
#define ERROR_H
#ifndef OMC_ERROR_H
#define OMC_ERROR_H

#include <setjmp.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/util/ringbuffer.c
Expand Up @@ -34,7 +34,7 @@
*/

#include "ringbuffer.h"
#include "error.h"
#include "omc_error.h"

#include <assert.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/util/varinfo.c
Expand Up @@ -29,7 +29,7 @@
*
*/

#include "error.h"
#include "omc_error.h"
#include "simulation_data.h"
#include "varinfo.h"

Expand Down

0 comments on commit 72982a6

Please sign in to comment.