summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2013-05-07 18:17:39 +0200
committerNicholas Clark <nick@ccl4.org>2013-05-20 21:19:44 +0200
commit1cb43330cc18f2eee5ab1eb58e65991407f4b243 (patch)
tree62b6088fd1ab8d134058afbf70458ab123bf7d11 /util.c
parent3a88beaa68dbb5bad93145daa0c829e0aeb40adb (diff)
downloadperl-1cb43330cc18f2eee5ab1eb58e65991407f4b243.tar.gz
Eliminate Perl_my_swabn(), as it is now unused.
It is not marked as part of the API, and no code on CPAN is using it.
Diffstat (limited to 'util.c')
-rw-r--r--util.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/util.c b/util.c
index ae088dd63c..e1bbed3e76 100644
--- a/util.c
+++ b/util.c
@@ -2253,22 +2253,6 @@ LETOH(vtohs,short)
LETOH(vtohl,long)
#endif
-void
-Perl_my_swabn(void *ptr, int n)
-{
- char *s = (char *)ptr;
- char *e = s + (n-1);
- char tc;
-
- PERL_ARGS_ASSERT_MY_SWABN;
-
- for (n /= 2; n > 0; s++, e--, n--) {
- tc = *s;
- *s = *e;
- *e = tc;
- }
-}
-
PerlIO *
Perl_my_popen_list(pTHX_ const char *mode, int n, SV **args)
{