From owner-svn-src-head@freebsd.org Wed Sep 23 16:16:17 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 614C4A07A28; Wed, 23 Sep 2015 16:16:17 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5014910EE; Wed, 23 Sep 2015 16:16:17 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8NGGHZ9015933; Wed, 23 Sep 2015 16:16:17 GMT (envelope-from rodrigc@FreeBSD.org) Received: (from rodrigc@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8NGGHtx015932; Wed, 23 Sep 2015 16:16:17 GMT (envelope-from rodrigc@FreeBSD.org) Message-Id: <201509231616.t8NGGHtx015932@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rodrigc set sender to rodrigc@FreeBSD.org using -f From: Craig Rodrigues Date: Wed, 23 Sep 2015 16:16:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288147 - head/lib/libc/isc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2015 16:16:17 -0000 Author: rodrigc Date: Wed Sep 23 16:16:16 2015 New Revision: 288147 URL: https://svnweb.freebsd.org/changeset/base/288147 Log: Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. Submitted by: Sascha Wildner Obtained from: DragonFlyBSD (commit 5d7d35b17f98588c39b30036f1a3fe8802935c2c) Modified: head/lib/libc/isc/ev_timers.c Modified: head/lib/libc/isc/ev_timers.c ============================================================================== --- head/lib/libc/isc/ev_timers.c Wed Sep 23 15:49:27 2015 (r288146) +++ head/lib/libc/isc/ev_timers.c Wed Sep 23 16:16:16 2015 (r288147) @@ -117,7 +117,7 @@ evCmpTime(struct timespec a, struct time } struct timespec -evNowTime() { +evNowTime(void) { struct timeval now; #ifdef CLOCK_REALTIME struct timespec tsnow; @@ -136,7 +136,7 @@ evNowTime() { } struct timespec -evUTCTime() { +evUTCTime(void) { struct timeval now; #ifdef CLOCK_REALTIME struct timespec tsnow;