From nobody Sat Oct 18 13:18:08 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cpj1F0nTlz6D7JC; Sat, 18 Oct 2025 13:18:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cpj1F0BCNz3Jd4; Sat, 18 Oct 2025 13:18:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760793489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EpCS4mj5Jjqi7EAxf9gBT4w2qCS5HX2X0Xl+odbOSTQ=; b=UQrb5dbIU5LNh68khz77Lu35XxTaWx48BSEx21eZO1zD0za84VpdbeRQL95Y78zjkfAHa8 rFvOM8TiWw8g+hcHtiNZpiogJgr4hiqROn3UvUxNz6d4OKo73POYGsl/5BL4cpvyIRJMij bQwGS6C98I4WisK7CFbf0h0BwyhURF2tPowWbb+POYJjHOXYrURlg5NMRLb75CeSFThnjB g5GqYsNjCLy08mTp+NtINKef2cFUvIRzJ26Kr6pAeLH9Q0BQbdRxN8FBfUNgyga5DNz4oD RoQVHqlwfW8Qa0hg2QtXXDneMlqPXy50B887gGMWZKLDFwrXekWpTowFAv4I9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760793489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EpCS4mj5Jjqi7EAxf9gBT4w2qCS5HX2X0Xl+odbOSTQ=; b=Smto7O+YCpIuw61X3NdE7FpZu9vbnBxr+unv1fw/ad5Xatx6MjIwEq48jQrv4aiExurQVO SMEQ6vHD9QsAEbMRqlI5oevQAOH/0kxPfCfu8YbSxW0LUoNPb87LWWZgBP/+2+SjXg0Avz /zOgnP0dSB+jmnu6063JU0dFXHk58injcZhI83vg39Tclwl9YQZvfixiG7v661Fijt5jUP S3zSzaw6EYgSNq4YvvCcMnZRcYotd5Sxp1BCR/7svqsDgeGgobcx3zzpI+RxtVXUli/G+b gAX3zlOM7NMRELoPyelVZc12o1snoT3VAL2yAn3Vn5/+1k6b0DeDCrJZVJl3Og== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760793489; a=rsa-sha256; cv=none; b=JqQFrys3ZFAJoOCAdhU4Ocy2jKkXqwVISqGVnfguHYoImzbYHfL7G2LDSNlRIPVwOr1e/4 LDW35ZewhqNkQZmUg76hbFdVOg2rtD4LEk3vc/P5LTkcXG3tDmXqaGNbpUzPn1n1z4MBAy H01uWJ2uFQGiDtunw4zfnYgBh8/gQwLDx0ES7Zi+hX81yjzDLykkCz2bqAJJFZ8ez3bRqE vHroLRhUZ05bcmCuHsthZNSrhS6lMn+73HxSI6e77H6Fk3LGMPSu7SsP2dQU15LqQkWh13 v0FKnkWsPrju1kanJu/7LGX5H7g/29/J5dzgepih1jpOjdOsatfETq8tNBFgUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cpj1D6nqTzjsQ; Sat, 18 Oct 2025 13:18:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59IDI81J064477; Sat, 18 Oct 2025 13:18:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59IDI86w064474; Sat, 18 Oct 2025 13:18:08 GMT (envelope-from git) Date: Sat, 18 Oct 2025 13:18:08 GMT Message-Id: <202510181318.59IDI86w064474@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Christos Margiolis Subject: git: 30a873ee3739 - main - virtual_oss(8): Retire unused utils.h List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 30a873ee3739dfd44b233907534ec1c33c21b78a Auto-Submitted: auto-generated The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=30a873ee3739dfd44b233907534ec1c33c21b78a commit 30a873ee3739dfd44b233907534ec1c33c21b78a Author: Christos Margiolis AuthorDate: 2025-10-18 13:17:43 +0000 Commit: Christos Margiolis CommitDate: 2025-10-18 13:17:43 +0000 virtual_oss(8): Retire unused utils.h Sponsored by: The FreeBSD Foundation MFC after: 1 day Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D53174 --- .../virtual_oss/virtual_bt_speaker/bt_speaker.c | 1 - usr.sbin/virtual_oss/virtual_oss/int.h | 3 --- usr.sbin/virtual_oss/virtual_oss/main.c | 1 - usr.sbin/virtual_oss/virtual_oss/utils.h | 31 ---------------------- 4 files changed, 36 deletions(-) diff --git a/usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c b/usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c index c61eaf1c338d..0e406cccca21 100644 --- a/usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c +++ b/usr.sbin/virtual_oss/virtual_bt_speaker/bt_speaker.c @@ -47,7 +47,6 @@ #include "avdtp_signal.h" #include "bt.h" -#include "utils.h" static int (*bt_receive_f)(struct bt_config *, void *, int, int); static int (*avdtpACPHandlePacket_f)(struct bt_config *cfg); diff --git a/usr.sbin/virtual_oss/virtual_oss/int.h b/usr.sbin/virtual_oss/virtual_oss/int.h index b3cc573ba8a9..69a943832074 100644 --- a/usr.sbin/virtual_oss/virtual_oss/int.h +++ b/usr.sbin/virtual_oss/virtual_oss/int.h @@ -318,9 +318,6 @@ extern void vclient_rx_equalizer(struct virtual_client *, int64_t *, size_t); extern int vclient_eq_alloc(struct virtual_client *); extern void vclient_eq_free(struct virtual_client *); -/* Internal utilities */ -extern int bt_speaker_main(int argc, char **argv); - /* Internal compressor */ extern void voss_compressor(int64_t *, double *, const struct virtual_compressor *, const unsigned, const unsigned, const int64_t); diff --git a/usr.sbin/virtual_oss/virtual_oss/main.c b/usr.sbin/virtual_oss/virtual_oss/main.c index 3f7fb84ce4c6..afa4ad0727ca 100644 --- a/usr.sbin/virtual_oss/virtual_oss/main.c +++ b/usr.sbin/virtual_oss/virtual_oss/main.c @@ -48,7 +48,6 @@ #include "backend.h" #include "int.h" -#include "utils.h" #include "virtual_oss.h" pthread_mutex_t atomic_mtx; diff --git a/usr.sbin/virtual_oss/virtual_oss/utils.h b/usr.sbin/virtual_oss/virtual_oss/utils.h deleted file mode 100644 index f0998dc75dae..000000000000 --- a/usr.sbin/virtual_oss/virtual_oss/utils.h +++ /dev/null @@ -1,31 +0,0 @@ -/*- - * Copyright (c) 2019 Hans Petter Selasky - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - -#ifndef _VIRTUAL_UTILS_H_ -#define _VIRTUAL_UTILS_H_ - -int bt_speaker_main(int argc, char **argv); - -#endif /* _VIRTUAL_UTILS_H_ */