Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Temporary fix of o1 compilation .[Issue-Id: ODUHIGH-285]
[o-du/l2.git]
/
src
/
cm
/
ssi.h
diff --git
a/src/cm/ssi.h
b/src/cm/ssi.h
index
d7cebf4
..
eaeff33
100755
(executable)
--- a/
src/cm/ssi.h
+++ b/
src/cm/ssi.h
@@
-2365,7
+2365,7
@@
#define GetTIMETICK() 0
#endif
#ifdef PHY_SHUTDOWN_ENABLE
#define GetTIMETICK() 0
#endif
#ifdef PHY_SHUTDOWN_ENABLE
-#define stop_printf(...) do {
EXTERN
uint8_t sndPhyShutDwn;printf(__VA_ARGS__); mtStopHndlr(); sndPhyShutDwn = 1;} while (0)
+#define stop_printf(...) do {uint8_t sndPhyShutDwn;printf(__VA_ARGS__); mtStopHndlr(); sndPhyShutDwn = 1;} while (0)
#else
#define stop_printf(...) do {printf(__VA_ARGS__); mtStopHndlr(); exit(-1);} while (0)
#endif
#else
#define stop_printf(...) do {printf(__VA_ARGS__); mtStopHndlr(); exit(-1);} while (0)
#endif
@@
-2389,7
+2389,7
@@
#ifdef MS_MUBUF_CORRUPTION /* Should be enabled when debugging mbuf corruption */
#define MS_BUF_ADD_CALLER()\
{\
#ifdef MS_MUBUF_CORRUPTION /* Should be enabled when debugging mbuf corruption */
#define MS_BUF_ADD_CALLER()\
{\
-
extern
uint32_t cmFreeCaller[4];\
+ uint32_t cmFreeCaller[4];\
if(cmFreeCaller[MxGetCpuID()] == NULLP)\
cmFreeCaller[MxGetCpuID()] = __return_address()-4;\
}
if(cmFreeCaller[MxGetCpuID()] == NULLP)\
cmFreeCaller[MxGetCpuID()] = __return_address()-4;\
}
@@
-2398,8
+2398,8
@@
#endif/* MSPD */
#ifdef BRDCM
#endif/* MSPD */
#ifdef BRDCM
-
extern
char logBuf[100];
-
extern
int glbTime;
+char logBuf[100];
+int glbTime;
#define BRDCM_PROF(s) do {\
} while(0)
#define BRDCM_PROF(s) do {\
} while(0)