summaryrefslogtreecommitdiff
path: root/gnu/lib/libf2c/libF77/qbitshft.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-12-30 17:35:29 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-12-30 17:35:29 +0000
commit157d4bd650a3e421c5bac48da7e528af9a6a76e2 (patch)
tree0379fb2c85e183c3c5669d425b3e42ae4592791b /gnu/lib/libf2c/libF77/qbitshft.c
parent791194721fec8918406191b62da6dc41f2d690e5 (diff)
Actual synch with 3.3.5.
Changes in Makefile.bsd-wrapper to avoid prereq. Fix in lib*/config.h.in to include the right ones and get the correct definitions. Bump of shlib_version accordingly.
Diffstat (limited to 'gnu/lib/libf2c/libF77/qbitshft.c')
-rw-r--r--gnu/lib/libf2c/libF77/qbitshft.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/gnu/lib/libf2c/libF77/qbitshft.c b/gnu/lib/libf2c/libF77/qbitshft.c
index 87fffb91ff8..ce740edde19 100644
--- a/gnu/lib/libf2c/libF77/qbitshft.c
+++ b/gnu/lib/libf2c/libF77/qbitshft.c
@@ -1,11 +1,7 @@
#include "f2c.h"
- longint
-#ifdef KR_headers
-qbit_shift(a, b) longint a; integer b;
-#else
-qbit_shift(longint a, integer b)
-#endif
+longint
+qbit_shift (longint a, integer b)
{
- return b >= 0 ? a << b : (longint)((ulongint)a >> -b);
- }
+ return b >= 0 ? a << b : (longint) ((ulongint) a >> -b);
+}