1*ddf7b806Sotto /* $OpenBSD: inp.h,v 1.8 2003/08/15 08:00:51 otto Exp $ */ 2*ddf7b806Sotto 3*ddf7b806Sotto /* 4*ddf7b806Sotto * patch - a program to apply diffs to original files 5*ddf7b806Sotto * 6*ddf7b806Sotto * Copyright 1986, Larry Wall 7*ddf7b806Sotto * 8*ddf7b806Sotto * Redistribution and use in source and binary forms, with or without 9*ddf7b806Sotto * modification, are permitted provided that the following condition is met: 10*ddf7b806Sotto * 1. Redistributions of source code must retain the above copyright notice, 11*ddf7b806Sotto * this condition and the following disclaimer. 12*ddf7b806Sotto * 13*ddf7b806Sotto * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY 14*ddf7b806Sotto * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 15*ddf7b806Sotto * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 16*ddf7b806Sotto * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR 17*ddf7b806Sotto * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18*ddf7b806Sotto * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 19*ddf7b806Sotto * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 20*ddf7b806Sotto * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21*ddf7b806Sotto * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22*ddf7b806Sotto * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23*ddf7b806Sotto * SUCH DAMAGE. 24*ddf7b806Sotto * 25*ddf7b806Sotto * -C option added in 1998, original code by Marc Espie, based on FreeBSD 26*ddf7b806Sotto * behaviour 27*ddf7b806Sotto */ 28fb8601a0Sotto 29fb8601a0Sotto void re_input(void); 3003269102Sotto void scan_input(const char *); 315dc74f7dSderaadt char *ifetch(LINENUM, int); 32