]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/open-amp.git/commitdiff
Remove env_strncmp()
authorWendy Liang <jliang@xilinx.com>
Wed, 1 Jun 2016 00:22:55 +0000 (17:22 -0700)
committerWendy Liang <jliang@xilinx.com>
Thu, 13 Oct 2016 05:01:42 +0000 (22:01 -0700)
env_strncmp() has been replaced with strncmp().

Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/include/openamp/env.h
lib/system/generic/env.c

index d243d3b73c9c3e1514b6152e958acf37a1de9f93..ccab0050399582dfd05fee30bcd3e6d42c07b689 100644 (file)
@@ -96,15 +96,6 @@ void *env_allocate_memory(unsigned int size);
  */
 void env_free_memory(void *ptr);
 
-/**
- * -------------------------------------------------------------------------
- *
- * RTL Functions
- *
- *-------------------------------------------------------------------------
- */
-
-int env_strncmp(char *, const char *, unsigned long);
 #define env_print(...)  printf(__VA_ARGS__)
 #define env_assert(_exp, _msg) do { \
        if (!(_exp)) {env_print("%s: %s", __func__, _msg); while(1);} \
index 1b958ae1c5ee2f609bb26fc843ebe58c377e9afe..5db4b849141026ae085e9f1632f67c89239c68d0 100755 (executable)
@@ -94,19 +94,6 @@ void env_free_memory(void *ptr)
        }
 }
 
-/**
- *
- * env_strncmp - implementation
- *
- * @param dest
- * @param src
- * @param len
- */
-int env_strncmp(char *dest, const char *src, unsigned long len)
-{
-       return (strncmp(dest, src, len));
-}
-
 /**
  *
  * env_mb - implementation