summaryrefslogtreecommitdiff
path: root/rushs/evalexpr/my_strcmp
diff options
context:
space:
mode:
Diffstat (limited to 'rushs/evalexpr/my_strcmp')
-rw-r--r--rushs/evalexpr/my_strcmp/my_strcmp.c11
-rw-r--r--rushs/evalexpr/my_strcmp/my_strcmp.h6
2 files changed, 0 insertions, 17 deletions
diff --git a/rushs/evalexpr/my_strcmp/my_strcmp.c b/rushs/evalexpr/my_strcmp/my_strcmp.c
deleted file mode 100644
index d3ef3e3..0000000
--- a/rushs/evalexpr/my_strcmp/my_strcmp.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include "my_strcmp.h"
-
-int my_strcmp(const char *s1, const char *s2)
-{
- for (; *s1 && *s1 == *s2; s1++, s2++)
- {
- continue;
- }
-
- return *s1 - *s2;
-}
diff --git a/rushs/evalexpr/my_strcmp/my_strcmp.h b/rushs/evalexpr/my_strcmp/my_strcmp.h
deleted file mode 100644
index d89a00b..0000000
--- a/rushs/evalexpr/my_strcmp/my_strcmp.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef MY_STRCMP_H
-#define MY_STRCMP_H
-
-#include <stddef.h>
-
-#endif /* ! MY_STRCMP_H */