mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 07:11:05 +01:00
12 lines
191 B
C
12 lines
191 B
C
|
#include "f2c.h"
|
||
|
|
||
|
integer
|
||
|
#ifdef KR_headers
|
||
|
lbit_shift(a, b) integer a; integer b;
|
||
|
#else
|
||
|
lbit_shift(integer a, integer b)
|
||
|
#endif
|
||
|
{
|
||
|
return b >= 0 ? a << b : (integer)((uinteger)a >> -b);
|
||
|
}
|