diff options
Diffstat (limited to 'contrib/syslinux/latest/com32/lib/memswap.c')
-rw-r--r-- | contrib/syslinux/latest/com32/lib/memswap.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/contrib/syslinux/latest/com32/lib/memswap.c b/contrib/syslinux/latest/com32/lib/memswap.c deleted file mode 100644 index 53813ab..0000000 --- a/contrib/syslinux/latest/com32/lib/memswap.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * memswap() - * - * Swaps the contents of two nonoverlapping memory areas. - * This really could be done faster... - */ - -#include <string.h> - -void memswap(void *m1, void *m2, size_t n) -{ - char *p = m1; - char *q = m2; - char tmp; - - while (n--) { - tmp = *p; - *p = *q; - *q = tmp; - - p++; - q++; - } -} |