aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/nspp/portlib/jlm2.f
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /sys/gio/nspp/portlib/jlm2.f
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/gio/nspp/portlib/jlm2.f')
-rw-r--r--sys/gio/nspp/portlib/jlm2.f7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/gio/nspp/portlib/jlm2.f b/sys/gio/nspp/portlib/jlm2.f
new file mode 100644
index 00000000..455c1310
--- /dev/null
+++ b/sys/gio/nspp/portlib/jlm2.f
@@ -0,0 +1,7 @@
+ function jlm2 (ichar)
+ dimension ichar(1)
+ call ncgchr (ichar,2,1,ichar1)
+ call ncgchr (ichar,2,2,ichar2)
+ jlm2 = ior(ishift(ichar1,8),ichar2)
+ return
+ end