The SystemTimeInSecondsFrom2000 functions don't need to be exported - Bug 2934 GCC_SURGE
authorWilliam Roberts <williamr@symbian.org>
Fri, 25 Jun 2010 14:16:10 +0100
branchGCC_SURGE
changeset 38 8e1163c14598
parent 37 601ea115c8aa
child 40 d4c81235847e
The SystemTimeInSecondsFrom2000 functions don't need to be exported - Bug 2934 I've marked the exports as ABSENT to maintain BC on the ordinals which are used.
omap3530/beagleboard/def/eabi/vbeagle.def
omap3530/beagleboard/src/variant.cpp
--- a/omap3530/beagleboard/def/eabi/vbeagle.def	Tue Jun 15 11:36:32 2010 +0100
+++ b/omap3530/beagleboard/def/eabi/vbeagle.def	Fri Jun 25 14:16:10 2010 +0100
@@ -1,7 +1,7 @@
 EXPORTS
 	_Z17VariantInitialisev @ 1 NONAME
-	_ZN6Beagle27SystemTimeInSecondsFrom2000ERi @ 2 NONAME
-	_ZN6Beagle30SetSystemTimeInSecondsFrom2000Ei @ 3 NONAME
+	_ZN6Beagle27SystemTimeInSecondsFrom2000ERi @ 2 NONAME ABSENT
+	_ZN6Beagle30SetSystemTimeInSecondsFrom2000Ei @ 3 NONAME ABSENT
 	_ZN7Variant10PowerResetEv @ 4 NONAME
 	_ZN7Variant14BaseLinAddressEv @ 5 NONAME
 	_ZN7Variant15GetMsTickPeriodEv @ 6 NONAME
--- a/omap3530/beagleboard/src/variant.cpp	Tue Jun 15 11:36:32 2010 +0100
+++ b/omap3530/beagleboard/src/variant.cpp	Fri Jun 25 14:16:10 2010 +0100
@@ -676,7 +676,7 @@
 }
 
 
-EXPORT_C TInt  Beagle::SystemTimeInSecondsFrom2000(TInt& aTime)
+TInt  Beagle::SystemTimeInSecondsFrom2000(TInt& aTime)
 	{
 	
 	if(!TPS65950::Initialized())
@@ -718,7 +718,7 @@
 	return KErrNone;
 	}
 
-EXPORT_C TInt Beagle::SetSystemTimeInSecondsFrom2000(TInt aTime)
+TInt Beagle::SetSystemTimeInSecondsFrom2000(TInt aTime)
 	{
 	if(!TPS65950::Initialized())
 		{