summaryrefslogtreecommitdiff
path: root/usr.bin/patch/inp.h
blob: 1d0ed96ba886c110efa715be0a2117a1a648eead (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*	$OpenBSD: inp.h,v 1.2 1996/06/10 11:21:29 niklas Exp $ */

EXT LINENUM input_lines INIT(0);	/* how long is input file in lines */
EXT LINENUM last_frozen_line INIT(0);	/* how many input lines have been */
					/* irretractibly output */

bool rev_in_string();
void scan_input();
bool plan_a();			/* returns false if insufficient memory */
void plan_b();
char *ifetch();