diff options
-rw-r--r-- | common/os_calls.c | 7 | ||||
-rw-r--r-- | common/os_calls.h | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index 088424ec..5895449d 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -690,6 +690,13 @@ g_strdup(char* in) /*****************************************************************************/ int +g_strcmp(char* c1, char* c2) +{ + return strcmp(c1, c2); +} + +/*****************************************************************************/ +int g_strncmp(char* c1, char* c2, int len) { return strncmp(c1, c2, len); diff --git a/common/os_calls.h b/common/os_calls.h index a2659401..2a3819c9 100644 --- a/common/os_calls.h +++ b/common/os_calls.h @@ -114,6 +114,8 @@ g_strcat(char* dest, char* src); char* g_strdup(char* in); int +g_strcmp(char* c1, char* c2); +int g_strncmp(char* c1, char* c2, int len); int g_strncasecmp(char* c1, char* c2, int len); |