aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2010-07-22 18:52:29 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2010-07-22 18:52:29 +0000
commit247cd15268d548e578a429483b414ab27caa4037 (patch)
tree3bd8c4649721a30396a1dd606d2cbda7d9bc661d /contrib
parentfcfec2f998b4301f24b14ee0bdc82f55c4953d60 (diff)
downloadsrc-247cd15268d548e578a429483b414ab27caa4037.tar.gz
src-247cd15268d548e578a429483b414ab27caa4037.zip
Make these files compile with clang.
Submitted by: Dimitry Andric <dimitry at andric.com>
Notes
Notes: svn path=/head/; revision=210386
Diffstat (limited to 'contrib')
-rw-r--r--contrib/tcp_wrappers/fix_options.c1
-rw-r--r--contrib/top/screen.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/tcp_wrappers/fix_options.c b/contrib/tcp_wrappers/fix_options.c
index 4983a55a47a1..b31c61a0382d 100644
--- a/contrib/tcp_wrappers/fix_options.c
+++ b/contrib/tcp_wrappers/fix_options.c
@@ -34,6 +34,7 @@ static char sccsid[] = "@(#) fix_options.c 1.6 97/04/08 02:29:19";
/* fix_options - get rid of IP-level socket options */
+void
fix_options(request)
struct request_info *request;
{
diff --git a/contrib/top/screen.c b/contrib/top/screen.c
index 348304cc2836..8eb1ccd1b43c 100644
--- a/contrib/top/screen.c
+++ b/contrib/top/screen.c
@@ -96,6 +96,7 @@ static int new_lword;
#define STDOUT 1
#define STDERR 2
+void
init_termcap(interactive)
int interactive;