diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-05-07 18:17:39 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2013-05-20 21:19:44 +0200 |
commit | 1cb43330cc18f2eee5ab1eb58e65991407f4b243 (patch) | |
tree | 62b6088fd1ab8d134058afbf70458ab123bf7d11 /util.c | |
parent | 3a88beaa68dbb5bad93145daa0c829e0aeb40adb (diff) | |
download | perl-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.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -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) { |