BSD 4_4_Lite2 release
[unix-history] / usr / src / bin / sh / input.h
index 754eda0..becbc25 100644 (file)
@@ -33,7 +33,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *     @(#)input.h     8.1 (Berkeley) 5/31/93
+ *     @(#)input.h     8.2 (Berkeley) 5/4/95
  */
 
 /* PEOF (the end of file marker) is defined in syntax.h */
  */
 
 /* PEOF (the end of file marker) is defined in syntax.h */
@@ -48,31 +48,17 @@ extern int parsenleft;              /* number of characters left in input buffer */
 extern char *parsenextc;       /* next character in input buffer */
 extern int init_editline;      /* 0 == not setup, 1 == OK, -1 == failed */
 
 extern char *parsenextc;       /* next character in input buffer */
 extern int init_editline;      /* 0 == not setup, 1 == OK, -1 == failed */
 
-
-#ifdef __STDC__
-char *pfgets(char *, int);
-int pgetc(void);
-int preadbuffer(void);
-void pungetc(void);
-void pushstring(char *, int, void *);
-void setinputfile(char *, int);
-void setinputfd(int, int);
-void setinputstring(char *, int);
-void popfile(void);
-void popallfiles(void);
-void closescript(void);
-#else
-char *pfgets();
-int pgetc();
-int preadbuffer();
-void pungetc();
-void setinputfile();
-void setinputfd();
-void setinputstring();
-void popfile();
-void popallfiles();
-void pushstring();
-void closescript();
-#endif
+char *pfgets __P((char *, int));
+int pgetc __P((void));
+int preadbuffer __P((void));
+void pungetc __P((void));
+void pushstring __P((char *, int, void *));
+void popstring __P((void));
+void setinputfile __P((char *, int));
+void setinputfd __P((int, int));
+void setinputstring __P((char *, int)); 
+void popfile __P((void));
+void popallfiles __P((void));
+void closescript __P((void));
 
 #define pgetc_macro()  (--parsenleft >= 0? *parsenextc++ : preadbuffer())
 
 #define pgetc_macro()  (--parsenleft >= 0? *parsenextc++ : preadbuffer())