From nobody Wed Jan 24 23:06:11 2024 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 4TL01v6x8Gz58tJ7; Wed, 24 Jan 2024 23:06:11 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TL01v6PPLz4jCQ; Wed, 24 Jan 2024 23:06:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706137571; 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=0yNr3YHHv+XF62l9mLf5qIR/7LRFdAr6VM/Whf22gDE=; b=q6NBx92uWyLfZQfiYdHwNfoRvh4bEApEIOLn+Rh1qA7vpUuvjMVxC+MLpdPX5kfObfYJsG MTgdRcTNgH+cF6Cy7Sdxu14BSopDGpHj+dOWUcM6ylD28gC+KDKqwkWFw4Wow6bcywRHuo DavgSo78mu/0BvML1pdaAesQPmc73+6AYe0Hk4udiAGtrDGO362KVn4k3kVyqWyFAbu2jY qO0i2JpD4BJOYoHClkWt3WkPuvbLpVjWGi9jgV+4WR7ltqTeIjP1l78twujLUhb+/sWB6D dYrHg0m5jyASfsW4/D73PuMJFOTocd8kSLgs4yO42W+gNr1Z0LLtvKaNVdLxug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706137571; 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=0yNr3YHHv+XF62l9mLf5qIR/7LRFdAr6VM/Whf22gDE=; b=OuFx85hUk5y281jfOHJpyFU9wqcdktsZsJKgn+AF9NU3TvhnO8XLqHQs5ebD4oBeKNHzpF yj1iphz6FD4LW2UDXoDiEdfL8Rs2XJsHur0YVckG/0rKehgGVb2cCOg4tpQhaJG+ZXqCsL pdYl5RzXvVRmk+JAjYdUKdkTz0kzlUYoFeQt3x6v2QJPUjFkPe+OY04MB8oopphvolA+bE hHqmhY3+wKtJWOCg+YJGMODbZx7Wjpe3cOh4knkSge6M3QRwzMC/K4tbigvy2xTWIE0eUp LPofLFg82raO8uuQimSFZhRvknLUJ0zAtwCmzX6N8sU1WUEjkGs8SVyJtIqAuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706137571; a=rsa-sha256; cv=none; b=p6mV8TEFl3jWU/sQO6Qs2mMhqhzKfuqAjX7cJ1Eto4Nqz2VRmGM2K4SEchega3uFsQZyuV tgwhGAwmPMEZbg6QGwD92lMwvFSj+ni81wjybtof5VaI0D3ggVFoSUMAscf642wAUya+Zg Iwu+zcvT/jzTFHweNesfE4bLsRrTcCyESWDtC0dA2ZlR1zOUog3TZdEJ6s4/KuNi00csei 5rl6gcT9UrVoAfzxBA6p5l4ZXsejDfZMAXvKVGLxliOiAewRyjJz/PUk+hlLi9VrxCAhNF 7FoFi5Lb2xYdQhWNqIHyuIQLJ7xHHWnJr/1iXQvSiFpZMoAmcTfS7rSRglGkKg== 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 4TL01v5S1fzZKV; Wed, 24 Jan 2024 23:06:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40ON6B3P042971; Wed, 24 Jan 2024 23:06:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40ON6BZu042968; Wed, 24 Jan 2024 23:06:11 GMT (envelope-from git) Date: Wed, 24 Jan 2024 23:06:11 GMT Message-Id: <202401242306.40ON6BZu042968@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: d56ce5915c41 - main - mpsutil: Clean up libutil deps 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d56ce5915c41517ccc7de2510daec200e100ef68 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=d56ce5915c41517ccc7de2510daec200e100ef68 commit d56ce5915c41517ccc7de2510daec200e100ef68 Author: Mark Johnston AuthorDate: 2024-01-24 19:47:56 +0000 Commit: Mark Johnston CommitDate: 2024-01-24 22:10:24 +0000 mpsutil: Clean up libutil deps mpsutil doesn't use libutil, so doesn't need to include libutil.h. See commit 76103694a051335bec1da318f9c6e3a676dc0145. No functional change intended. MFC after: 1 week --- usr.sbin/mpsutil/Makefile | 4 ---- usr.sbin/mpsutil/mps_debug.c | 1 - usr.sbin/mpsutil/mps_set.c | 1 - usr.sbin/mpsutil/mps_show.c | 1 - 4 files changed, 7 deletions(-) diff --git a/usr.sbin/mpsutil/Makefile b/usr.sbin/mpsutil/Makefile index a19c2f310167..aa59d8cddf76 100644 --- a/usr.sbin/mpsutil/Makefile +++ b/usr.sbin/mpsutil/Makefile @@ -1,17 +1,13 @@ - PROG= mpsutil SRCS= mps_cmd.c mps_debug.c mps_flash.c mps_set.c mps_show.c mps_slot.c mpsutil.c MAN= mpsutil.8 WARNS?= 3 -#LIBADD= cam util LINKS= ${BINDIR}/mpsutil ${BINDIR}/mprutil MLINKS= mpsutil.8 mprutil.8 CFLAGS+= -I${SRCTOP}/sys -I. -DUSE_MPT_IOCTLS -# Avoid dirdep dependency on libutil -CFLAGS+= -I${SRCTOP}/lib/libutil # Here be dragons .ifdef DEBUG diff --git a/usr.sbin/mpsutil/mps_debug.c b/usr.sbin/mpsutil/mps_debug.c index c1eb57f7150d..68394de50143 100644 --- a/usr.sbin/mpsutil/mps_debug.c +++ b/usr.sbin/mpsutil/mps_debug.c @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include diff --git a/usr.sbin/mpsutil/mps_set.c b/usr.sbin/mpsutil/mps_set.c index 603c529b8696..a1b61356e4ec 100644 --- a/usr.sbin/mpsutil/mps_set.c +++ b/usr.sbin/mpsutil/mps_set.c @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include diff --git a/usr.sbin/mpsutil/mps_show.c b/usr.sbin/mpsutil/mps_show.c index bbb2b22c8c73..378d5380aa76 100644 --- a/usr.sbin/mpsutil/mps_show.c +++ b/usr.sbin/mpsutil/mps_show.c @@ -35,7 +35,6 @@ #include #include #include -#include #include #include #include