Fix some warnings.

pull/830/head
Nicholas Marriott 2017-03-17 14:55:33 +00:00
parent 1ea19245b3
commit 640666fb36
5 changed files with 13 additions and 0 deletions

View File

@ -25,6 +25,9 @@
#include "compat.h"
void fatal(const char *, ...);
void fatalx(const char *, ...);
pid_t
forkpty(int *master, unused char *name, struct termios *tio, struct winsize *ws)
{

View File

@ -24,6 +24,9 @@
#include "compat.h"
void fatal(const char *, ...);
void fatalx(const char *, ...);
pid_t
forkpty(int *master, char *name, struct termios *tio, struct winsize *ws)
{

View File

@ -26,6 +26,9 @@
#include "compat.h"
void fatal(const char *, ...);
void fatalx(const char *, ...);
pid_t
forkpty(int *master, char *name, struct termios *tio, struct winsize *ws)
{

View File

@ -36,6 +36,8 @@
#include <ctype.h>
#include <string.h>
#include "compat.h"
/*
* Find the first occurrence of find in s, ignore case.
*/

View File

@ -32,6 +32,8 @@
#include <string.h>
#include <stdio.h>
#include "compat.h"
/*
* Get next token from string *stringp, where tokens are possibly-empty
* strings separated by characters from delim.