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
remove/replaced PRIVATE and EXTERN keywords
[o-du/l2.git]
/
src
/
cm
/
cm_mblk.c
diff --git
a/src/cm/cm_mblk.c
b/src/cm/cm_mblk.c
index
fb6b913
..
fe78a73
100644
(file)
--- a/
src/cm/cm_mblk.c
+++ b/
src/cm/cm_mblk.c
@@
-44,7
+44,7
@@
#include "cm_mblk.x" /* Typedef file */
#ifdef SS_LOCKLESS_MEMORY
#include "cm_mblk.x" /* Typedef file */
#ifdef SS_LOCKLESS_MEMORY
-
EXTERN
pthread_t tmpRegTidMap[20];
+pthread_t tmpRegTidMap[20];
#define CM_MEM_GET_REGION(_region) \
{ \
uint8_t _regCnt; \
#define CM_MEM_GET_REGION(_region) \
{ \
uint8_t _regCnt; \
@@
-63,7
+63,7
@@
EXTERN pthread_t tmpRegTidMap[20];
-
PRIVATE
Void cmAddMemNode ARGS((CmMemListCp *lCp,CmMemList *node));
+
static
Void cmAddMemNode ARGS((CmMemListCp *lCp,CmMemList *node));
\f
/*
\f
/*
@@
-651,13
+651,13
@@
Ptr memPtr; /* Link List CP */
*
*/
#ifdef ANSI
*
*/
#ifdef ANSI
-
PRIVATE
Void cmAddMemNode
+
static
Void cmAddMemNode
(
CmMemListCp *lCp, /* list control point */
CmMemList *node /* node to be added */
)
#else
(
CmMemListCp *lCp, /* list control point */
CmMemList *node /* node to be added */
)
#else
-
PRIVATE
Void cmAddMemNode (lCp, node)
+
static
Void cmAddMemNode (lCp, node)
CmMemListCp *lCp; /* list control point */
CmMemList *node; /* node to be added */
#endif
CmMemListCp *lCp; /* list control point */
CmMemList *node; /* node to be added */
#endif