ENH: add extern for hp c compiler

This commit is contained in:
Bill Hoffman 2006-11-29 21:53:52 -05:00
parent 445e091ffa
commit 9eb1ec3efe
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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