From owner-svn-src-all@freebsd.org Wed Aug 5 16:53:50 2015 Return-Path: Delivered-To: svn-src-all@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 64E9F9B4C94; Wed, 5 Aug 2015 16:53:50 +0000 (UTC) (envelope-from ed@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 4FC84E6; Wed, 5 Aug 2015 16:53:50 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t75GroeA020165; Wed, 5 Aug 2015 16:53:50 GMT (envelope-from ed@FreeBSD.org) Received: (from ed@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t75Groqh020164; Wed, 5 Aug 2015 16:53:50 GMT (envelope-from ed@FreeBSD.org) Message-Id: <201508051653.t75Groqh020164@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ed set sender to ed@FreeBSD.org using -f From: Ed Schouten Date: Wed, 5 Aug 2015 16:53:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r286325 - head/sys/compat/cloudabi X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 05 Aug 2015 16:53:50 -0000 Author: ed Date: Wed Aug 5 16:53:49 2015 New Revision: 286325 URL: https://svnweb.freebsd.org/changeset/base/286325 Log: Correct the previous commit: remove the DECLARE_MODULE(). It looks like a MODULE_VERSION() can also appear on its own -- there is no need to use explicitly use DECLARE_MODULE(). Looking at other modules, this seems common practice. Modified: head/sys/compat/cloudabi/cloudabi_proc.c Modified: head/sys/compat/cloudabi/cloudabi_proc.c ============================================================================== --- head/sys/compat/cloudabi/cloudabi_proc.c Wed Aug 5 16:45:47 2015 (r286324) +++ head/sys/compat/cloudabi/cloudabi_proc.c Wed Aug 5 16:53:49 2015 (r286325) @@ -30,7 +30,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include @@ -136,11 +135,4 @@ cloudabi_sys_proc_raise(struct thread *t return (0); } -static moduledata_t cloudabi_module = { - "cloudabi", - NULL, - NULL -}; - -DECLARE_MODULE(cloudabi, cloudabi_module, SI_SUB_EXEC, SI_ORDER_ANY); MODULE_VERSION(cloudabi, 1);