summaryrefslogtreecommitdiff
path: root/src/libstddjb/uint16_reverse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/uint16_reverse.c')
-rw-r--r--src/libstddjb/uint16_reverse.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/libstddjb/uint16_reverse.c b/src/libstddjb/uint16_reverse.c
deleted file mode 100644
index 4fa0a7b..0000000
--- a/src/libstddjb/uint16_reverse.c
+++ /dev/null
@@ -1,15 +0,0 @@
-/* ISC license. */
-
-#include <string.h>
-#include <skalibs/uint16.h>
-
-void uint16_reverse (char *s, size_t n)
-{
- while (n--)
- {
- char c = s[0] ;
- s[0] = s[1] ;
- s[1] = c ;
- s += 2 ;
- }
-}