mirror of
https://github.com/tmux/tmux.git
synced 2025-04-13 14:58:50 +00:00
Fix some warnings.
This commit is contained in:
parent
1ea19245b3
commit
640666fb36
@ -25,6 +25,9 @@
|
|||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
|
||||||
|
void fatal(const char *, ...);
|
||||||
|
void fatalx(const char *, ...);
|
||||||
|
|
||||||
pid_t
|
pid_t
|
||||||
forkpty(int *master, unused char *name, struct termios *tio, struct winsize *ws)
|
forkpty(int *master, unused char *name, struct termios *tio, struct winsize *ws)
|
||||||
{
|
{
|
||||||
|
@ -24,6 +24,9 @@
|
|||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
|
||||||
|
void fatal(const char *, ...);
|
||||||
|
void fatalx(const char *, ...);
|
||||||
|
|
||||||
pid_t
|
pid_t
|
||||||
forkpty(int *master, char *name, struct termios *tio, struct winsize *ws)
|
forkpty(int *master, char *name, struct termios *tio, struct winsize *ws)
|
||||||
{
|
{
|
||||||
|
@ -26,6 +26,9 @@
|
|||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
|
||||||
|
void fatal(const char *, ...);
|
||||||
|
void fatalx(const char *, ...);
|
||||||
|
|
||||||
pid_t
|
pid_t
|
||||||
forkpty(int *master, char *name, struct termios *tio, struct winsize *ws)
|
forkpty(int *master, char *name, struct termios *tio, struct winsize *ws)
|
||||||
{
|
{
|
||||||
|
@ -36,6 +36,8 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "compat.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Find the first occurrence of find in s, ignore case.
|
* Find the first occurrence of find in s, ignore case.
|
||||||
*/
|
*/
|
||||||
|
@ -32,6 +32,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include "compat.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get next token from string *stringp, where tokens are possibly-empty
|
* Get next token from string *stringp, where tokens are possibly-empty
|
||||||
* strings separated by characters from delim.
|
* strings separated by characters from delim.
|
||||||
|
Loading…
Reference in New Issue
Block a user