[Epic-ID: ODUHIGH-538][Issue-ID: ODUHIGH-575] Deallocating the variables allocated...
[o-du/l2.git] / src / mt / ss_gen.x
index bbd4f31..79acfe6 100755 (executable)
@@ -150,7 +150,7 @@ typedef struct sloggerInfo
 } SLoggerInfo;
 #endif /*  SS_LOGGER_SUPPORT  */
 
-#ifdef INTEL_WLS
+#if defined (INTEL_WLS) || defined (SS_USE_WLS_MEM)
 typedef struct _MtWls
 {
   Void   *intf;
@@ -274,7 +274,7 @@ typedef struct ssos
  SLoggerInfo logger;
 #endif /*  SS_LOGGER_SUPPORT  */
  S8          *configFilePath;
-#ifdef INTEL_WLS
+#if defined (INTEL_WLS) || defined (SS_USE_WLS_MEM)
    SsMtWls   wls;
 #endif
 
@@ -307,7 +307,7 @@ typedef struct ssRegCfg
 } SsRegCfg;
 
 
-
+#ifdef ANKIT
 /* external variable declaration */
 /*ss014.301  osCp as volatile for SSI-4GMX*/
 #ifdef  SS_4GMX_LCORE
@@ -315,6 +315,16 @@ volatile SsOs osCp;
 #else
 SsOs osCp;
 #endif
+#else
+/* external variable declaration */
+/*ss014.301  osCp as volatile for SSI-4GMX*/
+#ifdef  SS_4GMX_LCORE
+extern volatile SsOs osCp;
+#else
+extern SsOs osCp;
+#endif
+#endif
+
 
 
 /* functions */