From 9eb1ec3efed2e6084eda5fd30eba97bac5645728 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 29 Nov 2006 21:53:52 -0500 Subject: ENH: add extern for hp c compiler --- Tests/LibName/bar.c | 2 +- Tests/LibName/foo.c | 2 +- Tests/LibName/foobar.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/LibName/bar.c b/Tests/LibName/bar.c index eff5acf..9607180 100644 --- a/Tests/LibName/bar.c +++ b/Tests/LibName/bar.c @@ -2,6 +2,6 @@ __declspec(dllexport) #endif - void foo() +extern void foo() { } diff --git a/Tests/LibName/foo.c b/Tests/LibName/foo.c index c43cde6..a689704 100644 --- a/Tests/LibName/foo.c +++ b/Tests/LibName/foo.c @@ -1,7 +1,7 @@ #ifdef _WIN32 __declspec(dllimport) #endif - void foo(); +extern void foo(); #ifdef _WIN32 __declspec(dllexport) #endif diff --git a/Tests/LibName/foobar.c b/Tests/LibName/foobar.c index 39f3a82..b2c6d3f 100644 --- a/Tests/LibName/foobar.c +++ b/Tests/LibName/foobar.c @@ -1,7 +1,7 @@ #ifdef _WIN32 __declspec(dllimport) #endif - void bar(); +extern void bar(); int main(int ac, char** av) { -- cgit v0.12