Skip to content

Commit

Permalink
- avoid having extern twice
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24323 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jan 29, 2015
1 parent df9bef2 commit 2c49ede
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenC.tpl
Expand Up @@ -11337,7 +11337,7 @@ extern "C" {
#include <stdio.h>
#include <openmodelica.h>
DLLImport int __omc_main(int argc, char **argv);
DLLImport extern int __omc_main(int argc, char **argv);
int main(int argc, char **argv)
{
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/openmodelica.h
Expand Up @@ -52,7 +52,7 @@ extern "C" {
#define DLLImport __declspec( dllimport )
#define DLLExport __declspec( dllexport )
#else
#define DLLImport extern
#define DLLImport /* extern */
#define DLLExport /* nothing */
#endif

Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/util/modelica.h
Expand Up @@ -46,7 +46,7 @@ extern "C" {
#define DLLImport __declspec( dllimport )
#define DLLExport __declspec( dllexport )
#else
#define DLLImport extern
#define DLLImport /* extern */
#define DLLExport /* nothing */
#endif

Expand Down

0 comments on commit 2c49ede

Please sign in to comment.