// The current position is not decleared. The string
                        // is located in ROM, therefor use default pointer.
                        pData = (void *)pSubIndexEntry_p->m_pDefault;
-                       if ((CONST void ROM *)pData != (CONST void ROM *)NULL) {
+                       if ((CONST void *)pData != (CONST void *)NULL) {
                                // The max. size of strings defined by STRING-Macro is stored in
                                // tEplObdVString of default value.
                                DataSize =
-                                   ((CONST tEplObdVString ROM *) pData)->
+                                   ((CONST tEplObdVString *) pData)->
                                    m_Size;
                        }
                }
                        // The current position is not decleared. The string
                        // is located in ROM, therefor use default pointer.
                        pData = (void *)pSubIndexEntry_p->m_pDefault;
-                       if ((CONST void ROM *)pData != (CONST void ROM *)NULL) {
+                       if ((CONST void *)pData != (CONST void *)NULL) {
                                // The max. size of strings defined by STRING-Macro is stored in
                                // tEplObdVString of default value.
                                DataSize =
-                                   ((CONST tEplObdOString ROM *) pData)->
+                                   ((CONST tEplObdOString *) pData)->
                                    m_Size;
                        }
                }
                                                    pSubIndex->m_pCurrent;
                                                if (pDstData != NULL) {
                                                        // 08-dec-2004: code optimization !!!
-                                                       //              entries ((tEplObdVStringDef ROM*) pSubIndex->m_pDefault)->m_pString
-                                                       //              and ((tEplObdVStringDef ROM*) pSubIndex->m_pDefault)->m_Size were read
+                                                       //              entries ((tEplObdVStringDef*) pSubIndex->m_pDefault)->m_pString
+                                                       //              and ((tEplObdVStringDef*) pSubIndex->m_pDefault)->m_Size were read
                                                        //              twice. thats not necessary!
 
                                                        // For copying data we have to set the destination pointer to the real RAM string. This
                                                        // pointer to RAM string is located in default string info structure. (translated r.d.)
-                                                       pDstData =
-                                                           (void MEM
-                                                            *)((tEplObdVStringDef ROM *) pSubIndex->m_pDefault)->m_pString;
-                                                       ObjSize =
-                                                           ((tEplObdVStringDef
-                                                             ROM *) pSubIndex->
-                                                            m_pDefault)->
-                                                           m_Size;
-
-                                                       ((tEplObdVString MEM *)
-                                                        pSubIndex->
-                                                        m_pCurrent)->
-                                    m_pString = pDstData;
-                                                       ((tEplObdVString MEM *)
-                                                        pSubIndex->
-                                                        m_pCurrent)->m_Size =
-                                    ObjSize;
+                                                       pDstData = (void MEM *)((tEplObdVStringDef*) pSubIndex->m_pDefault)->m_pString;
+                                                       ObjSize = ((tEplObdVStringDef *)pSubIndex->m_pDefault)->m_Size;
+
+                                                       ((tEplObdVString MEM *)pSubIndex->m_pCurrent)->m_pString = pDstData;
+                                                       ((tEplObdVString MEM *)pSubIndex->m_pCurrent)->m_Size = ObjSize;
                                                }
 
                                        } else if (pSubIndex->m_Type ==
                                                    pSubIndex->m_pCurrent;
                                                if (pDstData != NULL) {
                                                        // 08-dec-2004: code optimization !!!
-                                                       //              entries ((tEplObdOStringDef ROM*) pSubIndex->m_pDefault)->m_pString
-                                                       //              and ((tEplObdOStringDef ROM*) pSubIndex->m_pDefault)->m_Size were read
+                                                       //              entries ((tEplObdOStringDef*) pSubIndex->m_pDefault)->m_pString
+                                                       //              and ((tEplObdOStringDef*) pSubIndex->m_pDefault)->m_Size were read
                                                        //              twice. thats not necessary!
 
                                                        // For copying data we have to set the destination pointer to the real RAM string. This
                                                        // pointer to RAM string is located in default string info structure. (translated r.d.)
-                                                       pDstData =
-                                                           (void MEM
-                                                            *)((tEplObdOStringDef ROM *) pSubIndex->m_pDefault)->m_pString;
-                                                       ObjSize =
-                                                           ((tEplObdOStringDef
-                                                             ROM *) pSubIndex->
-                                                            m_pDefault)->
-                                                           m_Size;
-
-                                                       ((tEplObdOString MEM *)
-                                                        pSubIndex->
-                                                        m_pCurrent)->
-                                    m_pString = pDstData;
-                                                       ((tEplObdOString MEM *)
-                                                        pSubIndex->
-                                                        m_pCurrent)->m_Size =
-                                    ObjSize;
+                                                       pDstData = (void MEM *)((tEplObdOStringDef *) pSubIndex->m_pDefault)->m_pString;
+                                                       ObjSize = ((tEplObdOStringDef *)pSubIndex->m_pDefault)->m_Size;
+
+                                                       ((tEplObdOString MEM *)pSubIndex->m_pCurrent)->m_pString = pDstData;
+                                                       ((tEplObdOString MEM *)pSubIndex->m_pCurrent)->m_Size = ObjSize;
                                                }
 
                                        }
 
        kVarValidAll = 0x03     // currently only size and data are implemented and used
 } tEplVarParamValid;
 
-typedef tEplKernel(ROM *tEplVarCallback) (CCM_DECL_INSTANCE_HDL_ void *pParam_p);
+typedef tEplKernel(*tEplVarCallback) (CCM_DECL_INSTANCE_HDL_ void *pParam_p);
 
 typedef struct {
        tEplVarParamValid m_ValidFlag;
 } tEplObdCbParam;
 
 // define type for callback function: pParam_p points to tEplObdCbParam
-typedef tEplKernel(ROM *tEplObdCallback) (CCM_DECL_INSTANCE_HDL_ tEplObdCbParam MEM * pParam_p);
+typedef tEplKernel(*tEplObdCallback) (CCM_DECL_INSTANCE_HDL_ tEplObdCbParam MEM * pParam_p);
 
 // do not change the order for this struct!!!
 
 
 } tEplObdCbStoreParam;
 
-typedef tEplKernel(ROM *tInitTabEntryCallback) (void MEM * pTabEntry_p,
+typedef tEplKernel(*tInitTabEntryCallback) (void MEM * pTabEntry_p,
                                                unsigned int uiObjIndex_p);
 
-typedef tEplKernel(ROM * tEplObdStoreLoadObjCallback) (CCM_DECL_INSTANCE_HDL_ tEplObdCbStoreParam MEM *pCbStoreParam_p);
+typedef tEplKernel(*tEplObdStoreLoadObjCallback) (CCM_DECL_INSTANCE_HDL_ tEplObdCbStoreParam MEM *pCbStoreParam_p);
 
 // -------------------------------------------------------------------------
 // this stucture is used for parameters for function ObdInitModuleTab()