Sfoglia il codice sorgente

ENH: add extern for hp c compiler

Bill Hoffman 19 anni fa
parent
commit
9eb1ec3efe
3 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 1 1
      Tests/LibName/bar.c
  2. 1 1
      Tests/LibName/foo.c
  3. 1 1
      Tests/LibName/foobar.c

+ 1 - 1
Tests/LibName/bar.c

@@ -2,6 +2,6 @@
 __declspec(dllexport) 
 #endif
   
-  void foo()
+extern  void foo()
 {
 }

+ 1 - 1
Tests/LibName/foo.c

@@ -1,7 +1,7 @@
 #ifdef _WIN32
 __declspec(dllimport) 
 #endif
-  void foo();
+extern  void foo();
 #ifdef _WIN32
 __declspec(dllexport)  
 #endif

+ 1 - 1
Tests/LibName/foobar.c

@@ -1,7 +1,7 @@
 #ifdef _WIN32
 __declspec(dllimport) 
 #endif
-  void bar();
+extern  void bar();
 
 int main(int ac, char** av)
 {