Skip to content

Commit

Permalink
gcc fix
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20357 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed May 5, 2014
1 parent cbfe927 commit fb5fc17
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions SimulationRuntime/c/util/ModelicaUtilities.c
Expand Up @@ -68,11 +68,8 @@ void OpenModelica_Simulation_ModelicaVFormatError(const char*string, va_list arg
omc_throw(NULL);
}

MODELICA_NORETURN void (*OpenModelica_ModelicaError)(const char*) MODELICA_NORETURNATTR;
MODELICA_NORETURN void (*OpenModelica_ModelicaVFormatError)(const char*,va_list) MODELICA_NORETURNATTR;

void (*OpenModelica_ModelicaError)(const char*) = OpenModelica_Simulation_ModelicaError;
void (*OpenModelica_ModelicaVFormatError)(const char*,va_list) = OpenModelica_Simulation_ModelicaVFormatError;
MODELICA_NORETURN void (*OpenModelica_ModelicaError)(const char*) MODELICA_NORETURNATTR = OpenModelica_Simulation_ModelicaError;
MODELICA_NORETURN void (*OpenModelica_ModelicaVFormatError)(const char*,va_list) MODELICA_NORETURNATTR = OpenModelica_Simulation_ModelicaVFormatError;

void ModelicaError(const char* string) {
OpenModelica_ModelicaError(string);
Expand Down

0 comments on commit fb5fc17

Please sign in to comment.