diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-03-17 14:55:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2017-03-17 14:55:33 +0000 |
commit | 640666fb36d7465b188f9d0bedc83ad60b83a1d7 (patch) | |
tree | 7de61b3ea478290eb8c7a935e3b4ed9e575372bc | |
parent | 1ea19245b37cbaa869d8601f652c4055ad537f34 (diff) | |
download | rtmux-640666fb36d7465b188f9d0bedc83ad60b83a1d7.tar.gz rtmux-640666fb36d7465b188f9d0bedc83ad60b83a1d7.tar.bz2 rtmux-640666fb36d7465b188f9d0bedc83ad60b83a1d7.zip |
Fix some warnings.
-rw-r--r-- | compat/forkpty-aix.c | 3 | ||||
-rw-r--r-- | compat/forkpty-hpux.c | 3 | ||||
-rw-r--r-- | compat/forkpty-sunos.c | 3 | ||||
-rw-r--r-- | compat/strcasestr.c | 2 | ||||
-rw-r--r-- | compat/strsep.c | 2 |
5 files changed, 13 insertions, 0 deletions
diff --git a/compat/forkpty-aix.c b/compat/forkpty-aix.c index 193be5ee..31b084db 100644 --- a/compat/forkpty-aix.c +++ b/compat/forkpty-aix.c @@ -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) { diff --git a/compat/forkpty-hpux.c b/compat/forkpty-hpux.c index dd71bd6c..64494f65 100644 --- a/compat/forkpty-hpux.c +++ b/compat/forkpty-hpux.c @@ -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) { diff --git a/compat/forkpty-sunos.c b/compat/forkpty-sunos.c index 81109630..18bba3bc 100644 --- a/compat/forkpty-sunos.c +++ b/compat/forkpty-sunos.c @@ -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) { diff --git a/compat/strcasestr.c b/compat/strcasestr.c index aa74c017..8679cf88 100644 --- a/compat/strcasestr.c +++ b/compat/strcasestr.c @@ -36,6 +36,8 @@ #include <ctype.h> #include <string.h> +#include "compat.h" + /* * Find the first occurrence of find in s, ignore case. */ diff --git a/compat/strsep.c b/compat/strsep.c index c44bc5b2..58584587 100644 --- a/compat/strsep.c +++ b/compat/strsep.c @@ -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. |