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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to