From owner-svn-ports-head@FreeBSD.ORG Thu Sep 19 14:12:59 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C9445244; Thu, 19 Sep 2013 14:12:59 +0000 (UTC) (envelope-from marck@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9C3F020BC; Thu, 19 Sep 2013 14:12:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8JECxN6007264; Thu, 19 Sep 2013 14:12:59 GMT (envelope-from marck@svn.freebsd.org) Received: (from marck@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8JECxUS007263; Thu, 19 Sep 2013 14:12:59 GMT (envelope-from marck@svn.freebsd.org) Message-Id: <201309191412.r8JECxUS007263@svn.freebsd.org> From: Dmitry Morozovsky Date: Thu, 19 Sep 2013 14:12:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327621 - head/net-mgmt/ehnt/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2013 14:12:59 -0000 Author: marck (doc committer) Date: Thu Sep 19 14:12:59 2013 New Revision: 327621 URL: http://svnweb.freebsd.org/changeset/ports/327621 Log: More clang-only errors (actually, more uses non-void function types) Notified by: pkg-fallout Modified: head/net-mgmt/ehnt/files/patch-ehnt__display.c Modified: head/net-mgmt/ehnt/files/patch-ehnt__display.c ============================================================================== --- head/net-mgmt/ehnt/files/patch-ehnt__display.c Thu Sep 19 13:50:34 2013 (r327620) +++ head/net-mgmt/ehnt/files/patch-ehnt__display.c Thu Sep 19 14:12:59 2013 (r327621) @@ -1,8 +1,23 @@ $FreeBSD$ ---- ehnt_display.c.orig Thu Oct 4 22:18:29 2001 -+++ ehnt_display.c Wed Jun 23 14:35:08 2004 +--- ehnt_display.c.orig ++++ ehnt_display.c +@@ -22,10 +22,10 @@ + #include "config.h" + #include "ehnt.h" + +-double ShowTopAS (double a[],char t[], int ,double); +-double ShowTopProto (double a[], char t[], int ,double); +-double ShowTopUdpPort (double a[],char t[], int, double); +-double ShowTopTcpPort (double a[],char t[], int, double); ++void ShowTopAS (double a[],char t[], int ,double); ++void ShowTopProto (double a[], char t[], int ,double); ++void ShowTopUdpPort (double a[],char t[], int, double); ++void ShowTopTcpPort (double a[],char t[], int, double); + double GetTop (double a[], char t[]); + int ShowValue(char *, int, double, int, double); + int ShowReport(struct ehnt_stats *, struct ehnt_struct *); @@ -110,7 +110,9 @@ ShowReportTimeHeader(stats); @@ -47,3 +62,39 @@ $FreeBSD$ if (bytes < 1024) sprintf(str,"%4d", bytes); else if (bytes < (1024*1024)) sprintf(str,"%4dK",(bytes/1024)); +@@ -258,7 +262,7 @@ + return str; + } + +-double ShowTopAS (double a[],char t[], int interval, double total) { ++void ShowTopAS (double a[],char t[], int interval, double total) { + int i=-1,maxi=0; + struct protoent *p; + +@@ -269,7 +273,7 @@ + ShowValue(ASN_Lookup(maxi),maxi,a[maxi],interval,total); + } + +-double ShowTopProto (double a[],char t[], int interval, double total) { ++void ShowTopProto (double a[],char t[], int interval, double total) { + int i=-1,maxi=0; + struct protoent *p; + +@@ -285,7 +289,7 @@ + } + } + +-double ShowTopTcpPort (double a[],char t[], int interval, double total) { ++void ShowTopTcpPort (double a[],char t[], int interval, double total) { + int i=-1,maxi=0; + struct servent *s; + +@@ -301,7 +305,7 @@ + } + } + +-double ShowTopUdpPort (double a[],char t[], int interval, double total) { ++void ShowTopUdpPort (double a[],char t[], int interval, double total) { + int i=-1,maxi=0; + struct servent *s; +