From owner-svn-src-all@FreeBSD.ORG Mon Dec 20 08:37:26 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C24F61065670; Mon, 20 Dec 2010 08:37:26 +0000 (UTC) (envelope-from charnier@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B12DA8FC19; Mon, 20 Dec 2010 08:37:26 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oBK8bQA7023363; Mon, 20 Dec 2010 08:37:26 GMT (envelope-from charnier@svn.freebsd.org) Received: (from charnier@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oBK8bQtU023361; Mon, 20 Dec 2010 08:37:26 GMT (envelope-from charnier@svn.freebsd.org) Message-Id: <201012200837.oBK8bQtU023361@svn.freebsd.org> From: Philippe Charnier Date: Mon, 20 Dec 2010 08:37:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r216583 - head/libexec/rbootd X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 08:37:26 -0000 Author: charnier Date: Mon Dec 20 08:37:26 2010 New Revision: 216583 URL: http://svn.freebsd.org/changeset/base/216583 Log: Add __unused Modified: head/libexec/rbootd/rbootd.c Modified: head/libexec/rbootd/rbootd.c ============================================================================== --- head/libexec/rbootd/rbootd.c Mon Dec 20 08:29:54 2010 (r216582) +++ head/libexec/rbootd/rbootd.c Mon Dec 20 08:37:26 2010 (r216583) @@ -54,9 +54,9 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)rbootd.c 8.1 (Berkeley) 6/4/93"; #endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#include +__FBSDID("$FreeBSD$"); #include #include @@ -397,7 +397,7 @@ Exit(int sig) ** - This routine must be called with SIGHUP blocked. */ void -ReConfig(int signo) +ReConfig(int signo __unused) { syslog(LOG_NOTICE, "reconfiguring boot server"); @@ -423,7 +423,7 @@ ReConfig(int signo) ** - Debug file is closed. */ void -DebugOff(int signo) +DebugOff(int signo __unused) { if (DbgFp != NULL) (void) fclose(DbgFp); @@ -445,7 +445,7 @@ DebugOff(int signo) ** otherwise do nothing. */ void -DebugOn(int signo) +DebugOn(int signo __unused) { if (DbgFp == NULL) { if ((DbgFp = fopen(DbgFile, "w")) == NULL)