summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a914e9f)
raw | patch | inline | side by side (parent: a914e9f)
author | Wendy Liang <jliang@xilinx.com> | |
Wed, 1 Jun 2016 00:22:55 +0000 (17:22 -0700) | ||
committer | Wendy 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>
Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/include/openamp/env.h | patch | blob | history | |
lib/system/generic/env.c | patch | blob | history |
index d243d3b73c9c3e1514b6152e958acf37a1de9f93..ccab0050399582dfd05fee30bcd3e6d42c07b689 100644 (file)
*/
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)
--- a/lib/system/generic/env.c
+++ b/lib/system/generic/env.c
}
}
-/**
- *
- * 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