svn commit: r210386 - in head/contrib: tcp_wrappers top

Rui Paulo rpaulo at FreeBSD.org
Thu Jul 22 18:52:30 UTC 2010


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;


More information about the svn-src-all mailing list