summaryrefslogtreecommitdiffstats
path: root/Tests/LibName
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-11-30 02:53:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-11-30 02:53:52 (GMT)
commit9eb1ec3efed2e6084eda5fd30eba97bac5645728 (patch)
tree031eaa3a97a4d325664b60e4b4fd39ef0b353f78 /Tests/LibName
parent445e091ffaa1f3b8d745fde38ab02680781088b9 (diff)
downloadCMake-9eb1ec3efed2e6084eda5fd30eba97bac5645728.zip
CMake-9eb1ec3efed2e6084eda5fd30eba97bac5645728.tar.gz
CMake-9eb1ec3efed2e6084eda5fd30eba97bac5645728.tar.bz2
ENH: add extern for hp c compiler
Diffstat (limited to 'Tests/LibName')
-rw-r--r--Tests/LibName/bar.c2
-rw-r--r--Tests/LibName/foo.c2
-rw-r--r--Tests/LibName/foobar.c2
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)
{