Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2010 18:52:29 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r210386 - in head/contrib: tcp_wrappers top
Message-ID:  <201007221852.o6MIqTxD032039@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Thu Jul 22 18:52:29 2010
New Revision: 210386
URL: http://svn.freebsd.org/changeset/base/210386

Log:
  Make these files compile with clang.
  
  Submitted by:	Dimitry Andric <dimitry at andric.com>

Modified:
  head/contrib/tcp_wrappers/fix_options.c
  head/contrib/top/screen.c

Modified: head/contrib/tcp_wrappers/fix_options.c
==============================================================================
--- head/contrib/tcp_wrappers/fix_options.c	Thu Jul 22 18:49:27 2010	(r210385)
+++ head/contrib/tcp_wrappers/fix_options.c	Thu Jul 22 18:52:29 2010	(r210386)
@@ -34,6 +34,7 @@ static char sccsid[] = "@(#) fix_options
 
 /* fix_options - get rid of IP-level socket options */
 
+void
 fix_options(request)
 struct request_info *request;
 {

Modified: head/contrib/top/screen.c
==============================================================================
--- head/contrib/top/screen.c	Thu Jul 22 18:49:27 2010	(r210385)
+++ head/contrib/top/screen.c	Thu Jul 22 18:52:29 2010	(r210386)
@@ -96,6 +96,7 @@ static int new_lword;
 #define	STDOUT	1
 #define	STDERR	2
 
+void
 init_termcap(interactive)
 
 int interactive;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007221852.o6MIqTxD032039>