1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-14 23:46:14 +00:00

Remove incorrect SUN3_OS3_OS4_il ifdef. (#228)

The definition of a function was ifdef'd out, making it seem
like perhaps there was an assembly implementation, but there
isn't. That platform support is dead weight also at this point,
so removing this because it isn't something that will come back
is fine.
This commit is contained in:
Bruce Mitchener 2021-01-16 10:44:12 +07:00 committed by GitHub
parent 4c84412c84
commit 16093186ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,14 +111,11 @@ static unsigned short sxhash(LispPTR obj) {
}
}
#ifndef SUN3_OS3_OR_OS4_IL
/* Rotates the 16-bit work to the left 7 bits (or to the right 9 bits) */
static unsigned short sxhash_rotate(short unsigned int value) {
return ((value << 7) | ((value >> 9) & 0x7f));
}
#endif
static unsigned short sxhash_string(OneDArray *obj) {
unsigned len, offset;
register unsigned short hash = 0;