Bug 330237 - editline.c:1038: warning: implicit declaration of function getpid. r=mrbkap

This commit is contained in:
timeless 2008-09-08 13:27:57 +02:00
parent 1694ed5ded
commit f7c8db5a8a

View File

@ -64,6 +64,7 @@
#include "editline.h"
#include <signal.h>
#include <ctype.h>
#include <unistd.h>
/*
** Manifest constants.
@ -154,12 +155,10 @@ int rl_meta_chars = 0;
** Declarations.
*/
STATIC CHAR *editinput();
extern int read();
extern int write();
#if defined(USE_TERMCAP)
extern char *getenv();
extern char *tgetstr();
extern int tgetent();
#include <stdlib.h>
#include <curses.h>
#include <term.h>
#endif /* defined(USE_TERMCAP) */
/*