renames ucx_memcmp() to ucx_cmp_mem()

Mon, 14 May 2018 18:19:16 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 14 May 2018 18:19:16 +0200
changeset 311
e1f3248576bc
parent 310
b09677d72413
child 312
e1e3b768ae8b

renames ucx_memcmp() to ucx_cmp_mem()

src/ucx/utils.h file | annotate | diff | comparison | revisions
src/utils.c file | annotate | diff | comparison | revisions
     1.1 --- a/src/ucx/utils.h	Mon May 14 18:16:12 2018 +0200
     1.2 +++ b/src/ucx/utils.h	Mon May 14 18:19:16 2018 +0200
     1.3 @@ -241,7 +241,7 @@
     1.4   * @param n a pointer to the size_t containing the third parameter for memcmp
     1.5   * @return the result of memcmp(ptr1, ptr2, *n)
     1.6   */
     1.7 -int ucx_memcmp(const void *ptr1, const void *ptr2, void *n);
     1.8 +int ucx_cmp_mem(const void *ptr1, const void *ptr2, void *n);
     1.9  
    1.10  /**
    1.11   * A <code>printf()</code> like function which writes the output to a stream by
     2.1 --- a/src/utils.c	Mon May 14 18:16:12 2018 +0200
     2.2 +++ b/src/utils.c	Mon May 14 18:19:16 2018 +0200
     2.3 @@ -166,7 +166,7 @@
     2.4      }
     2.5  }
     2.6  
     2.7 -int ucx_memcmp(const void *ptr1, const void *ptr2, void *n) {
     2.8 +int ucx_cmp_mem(const void *ptr1, const void *ptr2, void *n) {
     2.9      return memcmp(ptr1, ptr2, *((size_t*)n));
    2.10  }
    2.11  

mercurial