aboutsummaryrefslogtreecommitdiff
path: root/sys/imio/tf/imps1x.x
blob: 5a5c33a0fa2316f60f9f3270a300bc32716c59a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

include	<imhdr.h>

# IMPS1? -- Put a section to an apparently one dimensional image.

pointer procedure imps1x (im, x1, x2)

pointer	im		# image header pointer
int	x1		# first column
int	x2		# last column

pointer	impgsx(), impl1x()

begin
	if (x1 == 1 && x2 == IM_LEN(im,1))
	    return (impl1x (im))
	else
	    return (impgsx (im, long(x1), long(x2), 1))
end