Bug 1804 - Remove unnecessary references to gnulib byteswa.h and endian.h. Also remove unnecessary qualification of method names with class name in inline definitions. CompilerCompatibility
authorPeter Fordham <peter.fordham@gmail.com>
Fri, 19 Mar 2010 17:32:42 -0700
branchCompilerCompatibility
changeset 11 b1c431e5a893
parent 10 936cdb3b3ca7
child 14 35cf55507ef2
Bug 1804 - Remove unnecessary references to gnulib byteswa.h and endian.h. Also remove unnecessary qualification of method names with class name in inline definitions.
genericpositioningplugins/locationnpppsy/inc/npppsysingletonhandler.h
landmarks/locationlandmarks/localaccess/inc/epos_cposlmlocaldatabase.h
locationsystemui/locationsysui/locsuplsettingsui/inc/locsuplsettingsuiengine.h
locationsystemui/locationsysui/locverifier/inc/lpdrequestorprocessor.h
locationtriggering/ltcontainer/inc/lbtcontainerutilities.h
supl/locationomasuplprotocolhandler/protocolhandler/inc/epos_comasuplcommonconfig.h
supl/locationomasuplprotocolhandler/protocolhandler/inc/epos_comasuplsettings.h
supl/locationomasuplprotocolhandler/protocolhandlerver2/inc/epos_comasuplsettings.h
supl/locationomasuplprotocolhandler/supllistener/inc/epos_comasuplsmslistenerbase.h
supl/locationsuplfw/protocolhandlerapi/src/epos_suplkey.cpp
--- a/genericpositioningplugins/locationnpppsy/inc/npppsysingletonhandler.h	Fri Mar 19 17:31:34 2010 -0700
+++ b/genericpositioningplugins/locationnpppsy/inc/npppsysingletonhandler.h	Fri Mar 19 17:32:42 2010 -0700
@@ -51,7 +51,7 @@
         *                         status.
         * @reuturn the pointer the the singleton handler
         */
-        static CNppPsySingletonHandler* CNppPsySingletonHandler::GetInstanceL( 
+        static CNppPsySingletonHandler* GetInstanceL( 
             MPositionerStatus& aStatusInterface );
 
         /**
--- a/landmarks/locationlandmarks/localaccess/inc/epos_cposlmlocaldatabase.h	Fri Mar 19 17:31:34 2010 -0700
+++ b/landmarks/locationlandmarks/localaccess/inc/epos_cposlmlocaldatabase.h	Fri Mar 19 17:32:42 2010 -0700
@@ -360,7 +360,7 @@
         *   full information.
         * @return The landmark.
         */
-        CPosLandmark* CPosLmLocalDatabase::ReadLmLC(
+        CPosLandmark* ReadLmLC(
             TPosLmItemId aLandmarkId,
             TBool aIsPartial );
 
--- a/locationsystemui/locationsysui/locsuplsettingsui/inc/locsuplsettingsuiengine.h	Fri Mar 19 17:31:34 2010 -0700
+++ b/locationsystemui/locationsysui/locsuplsettingsui/inc/locsuplsettingsuiengine.h	Fri Mar 19 17:32:42 2010 -0700
@@ -136,7 +136,7 @@
         /**
 		 * Creates a new server entry in Supl Settings.
 		 */
-		void CLocSUPLSettingsUiEngine::AddNewServerL( 
+		void AddNewServerL( 
 		        const TDesC& aServerAddress,
 		        const TDesC& aIapName,
 		        const TBool aUsageInHomeNw
--- a/locationsystemui/locationsysui/locverifier/inc/lpdrequestorprocessor.h	Fri Mar 19 17:31:34 2010 -0700
+++ b/locationsystemui/locationsysui/locverifier/inc/lpdrequestorprocessor.h	Fri Mar 19 17:32:42 2010 -0700
@@ -74,7 +74,7 @@
        /**
         * Sets Type of Request
         */
-        void CLpdRequestorProcessor::SetRequestType( TInt aReqType );
+        void SetRequestType( TInt aReqType );
 
         /**
         * Resets requestor arrays and destroys requestor objects.
@@ -158,4 +158,4 @@
 
 #endif      // CLPDREQUESTORPROCESSOR_H   
             
-// End of File
\ No newline at end of file
+// End of File
--- a/locationtriggering/ltcontainer/inc/lbtcontainerutilities.h	Fri Mar 19 17:31:34 2010 -0700
+++ b/locationtriggering/ltcontainer/inc/lbtcontainerutilities.h	Fri Mar 19 17:32:42 2010 -0700
@@ -116,7 +116,7 @@
 		 * 
 		 * @return ETrue if the UIDs suffices the security polity, EFalse otherwise
 		 */
-		static TBool LbtContainerUtilities::RunSecurityPolicy( TUid& aOwnerUid,
+		static TBool RunSecurityPolicy( TUid& aOwnerUid,
 															   TUid& aManagerUid,
 															   TSecureId& aStartupProcessUid,
 															   TLbtSecurityPolicy& aSecurityPolicy );
--- a/supl/locationomasuplprotocolhandler/protocolhandler/inc/epos_comasuplcommonconfig.h	Fri Mar 19 17:31:34 2010 -0700
+++ b/supl/locationomasuplprotocolhandler/protocolhandler/inc/epos_comasuplcommonconfig.h	Fri Mar 19 17:32:42 2010 -0700
@@ -42,7 +42,7 @@
 	* @param None.
 	* @return Instance of COMASuplCommonConfig
 	*/
-	IMPORT_C static COMASuplCommonConfig* COMASuplCommonConfig::NewL();
+	IMPORT_C static COMASuplCommonConfig* NewL();
 	
 	/**
 	* ~COMASuplCommonConfig Method, Destructor
--- a/supl/locationomasuplprotocolhandler/protocolhandler/inc/epos_comasuplsettings.h	Fri Mar 19 17:31:34 2010 -0700
+++ b/supl/locationomasuplprotocolhandler/protocolhandler/inc/epos_comasuplsettings.h	Fri Mar 19 17:32:42 2010 -0700
@@ -40,7 +40,7 @@
 	* @param None.
 	* @return Instance of COMASuplSettings
 	*/
-  IMPORT_C static COMASuplSettings* COMASuplSettings::NewL();
+  IMPORT_C static COMASuplSettings* NewL();
 	
 	/**
 	* ~COMASuplSettings Method, Destructor
--- a/supl/locationomasuplprotocolhandler/protocolhandlerver2/inc/epos_comasuplsettings.h	Fri Mar 19 17:31:34 2010 -0700
+++ b/supl/locationomasuplprotocolhandler/protocolhandlerver2/inc/epos_comasuplsettings.h	Fri Mar 19 17:32:42 2010 -0700
@@ -40,7 +40,7 @@
 	* @param None.
 	* @return Instance of COMASuplSettings
 	*/
-	static COMASuplSettings* COMASuplSettings::NewL();
+	static COMASuplSettings* NewL();
 	
 	/**
 	* ~COMASuplSettings Method, Destructor
--- a/supl/locationomasuplprotocolhandler/supllistener/inc/epos_comasuplsmslistenerbase.h	Fri Mar 19 17:31:34 2010 -0700
+++ b/supl/locationomasuplprotocolhandler/supllistener/inc/epos_comasuplsmslistenerbase.h	Fri Mar 19 17:32:42 2010 -0700
@@ -112,7 +112,7 @@
 	 *
 	 * @since S60 v3.1
 	 */
-    void COMASuplSmsListenerBase::SendL( const TPtr8& aMessage );
+    void SendL( const TPtr8& aMessage );
 
     // from base class CActive    
     /**
--- a/supl/locationsuplfw/protocolhandlerapi/src/epos_suplkey.cpp	Fri Mar 19 17:31:34 2010 -0700
+++ b/supl/locationsuplfw/protocolhandlerapi/src/epos_suplkey.cpp	Fri Mar 19 17:32:42 2010 -0700
@@ -37,11 +37,6 @@
 #include <libc/string.h>     /* for memcpy() etc.        */
 #include <libc/stdlib.h>     /* for _lrotl with VC++     */
 
-#if defined(__GNUC__) || defined(__GNU_LIBRARY__)
-#include <byteswap.h>
-#include <endian.h>
-#endif
-
 #include "sha1.h"
 #include "hmac.h"