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
replaced cmMemSet, cmMemcpy with memset and memcpy resp AND Removed TRC() traces...
[o-du/l2.git]
/
src
/
cm
/
cm_inet.h
diff --git
a/src/cm/cm_inet.h
b/src/cm/cm_inet.h
index
e90d001
..
8fefe77
100644
(file)
--- a/
src/cm/cm_inet.h
+++ b/
src/cm/cm_inet.h
@@
-448,7
+448,7
@@
#ifdef IPV6_SUPPORTED
#define CM_INET_COPY_IPV6ADDR(_addrToFill, _fromAddr) \
{ \
#ifdef IPV6_SUPPORTED
#define CM_INET_COPY_IPV6ADDR(_addrToFill, _fromAddr) \
{ \
-
(Void)cmMemcpy((U8 *)_addrToFill, (U8 *)
_fromAddr, sizeof(CmInetIpAddr6)); \
+
memcpy(_addrToFill,
_fromAddr, sizeof(CmInetIpAddr6)); \
}
#if (defined(SUNOS) || defined(HPOS) || defined(SS_VW))
}
#if (defined(SUNOS) || defined(HPOS) || defined(SS_VW))
@@
-491,7
+491,7
@@
#ifdef SS_VW
#define CM_COPY_VWIPADDR(vwIpAddr, addr) \
{ \
#ifdef SS_VW
#define CM_COPY_VWIPADDR(vwIpAddr, addr) \
{ \
-
(Void)cmMemcpy((U8 *)addr, (U8 *)
&vwIpAddr, sizeof(S32)); \
+
memcpy(addr,
&vwIpAddr, sizeof(S32)); \
}
#endif
}
#endif