Remove unused functions reverse16, reverse32

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2019-07-15 21:50:46 +02:00 committed by zdenop
parent ae6eddcc12
commit 40b69539ff
2 changed files with 0 additions and 25 deletions

View File

@ -113,25 +113,3 @@ char window_wait(ScrollView* win) {
return ret;
}
#endif
void reverse32(void *ptr) {
char tmp;
char *cptr = static_cast<char *>(ptr);
tmp = *cptr;
*cptr = *(cptr + 3);
*(cptr + 3) = tmp;
tmp = *(cptr + 1);
*(cptr + 1) = *(cptr + 2);
*(cptr + 2) = tmp;
}
void reverse16(void *ptr) {
char tmp;
char *cptr = static_cast<char *>(ptr);
tmp = *cptr;
*cptr = *(cptr + 1);
*(cptr + 1) = tmp;
}

View File

@ -2,7 +2,6 @@
* File: callcpp.h
* Description: extern C interface calling C++ from C.
* Author: Ray Smith
* Created: Sun Feb 04 20:39:23 MST 1996
*
* (C) Copyright 1996, Hewlett-Packard Co.
** Licensed under the Apache License, Version 2.0 (the "License");
@ -106,7 +105,5 @@ void c_make_current( /*move pen */
void c_clear_window( /*move pen */
void *win);
char window_wait(ScrollView* win);
void reverse32(void *ptr);
void reverse16(void *ptr);
#endif