Portability fixes: don't declare library functions, include
appropriate headers. Also remove some unused declarations.
This commit is contained in:
parent
56dce5a8c4
commit
4ce5f988d0
13 changed files with 19 additions and 156 deletions
|
@ -38,6 +38,7 @@
|
|||
#include "ioqueue.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <fcntl.h>
|
||||
#if !defined(_WIN32)
|
||||
|
@ -61,7 +62,6 @@ void dopipe();
|
|||
void doexecute();
|
||||
void output();
|
||||
void screen();
|
||||
void free();
|
||||
int sendeof();
|
||||
int termio();
|
||||
void _noecho();
|
||||
|
@ -219,7 +219,6 @@ void
|
|||
dopipe(p)
|
||||
s_char *p;
|
||||
{
|
||||
extern FILE *popen();
|
||||
s_char *tag;
|
||||
|
||||
if (*p == '|')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue