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
--- a/src/ucx/utils.h	Mon May 14 18:16:12 2018 +0200
+++ b/src/ucx/utils.h	Mon May 14 18:19:16 2018 +0200
@@ -241,7 +241,7 @@
  * @param n a pointer to the size_t containing the third parameter for memcmp
  * @return the result of memcmp(ptr1, ptr2, *n)
  */
-int ucx_memcmp(const void *ptr1, const void *ptr2, void *n);
+int ucx_cmp_mem(const void *ptr1, const void *ptr2, void *n);
 
 /**
  * A <code>printf()</code> like function which writes the output to a stream by
--- a/src/utils.c	Mon May 14 18:16:12 2018 +0200
+++ b/src/utils.c	Mon May 14 18:19:16 2018 +0200
@@ -166,7 +166,7 @@
     }
 }
 
-int ucx_memcmp(const void *ptr1, const void *ptr2, void *n) {
+int ucx_cmp_mem(const void *ptr1, const void *ptr2, void *n) {
     return memcmp(ptr1, ptr2, *((size_t*)n));
 }
 

mercurial