X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fcm_lib.x;h=42e55efe6af8c108cbb86e8b4b2774e2140a9f15;hb=4a4be152a02505f732a92caa2a5592f2ec70b9ae;hp=7e6fe058725ec52a4a73bb110270763e074f7b79;hpb=5625a52ad68f6ad93684e68bbbdbaef0d462cf9a;p=o-du%2Fl2.git diff --git a/src/cm/cm_lib.x b/src/cm/cm_lib.x index 7e6fe0587..42e55efe6 100755 --- a/src/cm/cm_lib.x +++ b/src/cm/cm_lib.x @@ -40,14 +40,14 @@ extern "C" { #endif -PUBLIC U8 *cmMemcpy ARGS((U8 *tgt, CONSTANT U8 *src, PTR len)); -PUBLIC S16 cmMemcmp ARGS((CONSTANT U8 *s1, CONSTANT U8 *s2, PTR len)); -PUBLIC U8 *cmMemset ARGS((U8 *src, U8 val, PTR len)); +uint8_t *cmMemcpy ARGS((uint8_t *tgt, const uint8_t *src, PTR len)); +S16 cmMemcmp ARGS((const uint8_t *s1, const uint8_t *s2, PTR len)); +uint8_t *cmMemset ARGS((uint8_t *src, uint8_t val, PTR len)); -PUBLIC S16 cmStrcmp ARGS((CONSTANT U8 *s1, CONSTANT U8 *s2)); +S16 cmStrcmp ARGS((const uint8_t *s1, const uint8_t *s2)); /* cm_lib_x_001.main_8:Changing from S16 to MsgLen.*/ -PUBLIC S16 cmStrncmp ARGS((CONSTANT U8 *s1, CONSTANT U8 *s2, MsgLen len)); -PUBLIC MsgLen cmStrlen ARGS((CONSTANT U8 *s)); +S16 cmStrncmp ARGS((const uint8_t *s1, const uint8_t *s2, MsgLen len)); +MsgLen cmStrlen ARGS((const uint8_t *s)); #ifdef __cplusplus }