From owner-cvs-all@FreeBSD.ORG Thu Jun 26 07:05:48 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB62A1065688; Thu, 26 Jun 2008 07:05:48 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C0D6B8FC0C; Thu, 26 Jun 2008 07:05:48 +0000 (UTC) (envelope-from mtm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m5Q75mTf047894; Thu, 26 Jun 2008 07:05:48 GMT (envelope-from mtm@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m5Q75mDu047893; Thu, 26 Jun 2008 07:05:48 GMT (envelope-from mtm@repoman.freebsd.org) Message-Id: <200806260705.m5Q75mDu047893@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mtm@repoman.freebsd.org using -f From: Mike Makonnen Date: Thu, 26 Jun 2008 07:05:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/ggate/ggated ggated.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 07:05:49 -0000 mtm 2008-06-26 07:05:35 UTC FreeBSD src repository Modified files: sbin/ggate/ggated ggated.c Log: SVN rev 180020 on 2008-06-26 07:05:35Z by mtm The signature for a pthread function requires that it return a pointer to a void. The send_thread() and disk_thread() funtions; however, do not have a return value because they run for the duration of the daemon's lifetime. This causes gcc to barf when running with -O3. Make these functions return a null pointer to quiet it. PR: bin/124342 Submitted by: Garrett Cooper (minus his comments) MFC after: 1 week Revision Changes Path 1.11 +6 -0 src/sbin/ggate/ggated/ggated.c