From nobody Sun Jun 09 17:03:05 2024 X-Original-To: dev-commits-src-all@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 4Vy1Tk2Mm3z5N03r; Sun, 09 Jun 2024 17:03:06 +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 4Vy1Tk0N0tz4brc; Sun, 9 Jun 2024 17:03:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717952586; 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=7+/u5hkj4+8OO9uQh7SiiO4ZtyhhY7Qni5w0a6ruf6Q=; b=oUn871PXaZXcoZyFfjyz0MPV+qlZMWlxPg5GFRKkIKmEGzBILP+MEUT1lIVuVjRMClFt+6 gW6jeCWzXkmwyV0Y94aR2G3Kmth6rL3MaEQqK5zcgTrlYgmh5y8gWKhXf6m6OOa3N8jia3 I+uYR99CHNJhRHHnlIMK5E63CsF0naxsnDGH++m8DCWf3GjwA8XpotUSikpuMUAf0KekGF 48rkfMJX4CwNjXM+cVzsyRzCDpmG8bonqRIpvmh8Lo/V8wljIE7u1oIOB0XUL7XxgR1Gxk OgovgtNFVbrpNPoFCYyVJMvlCg/BLIKtVIN8eRwDDN4NmEY2gGZkKiMLbeEgJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717952586; a=rsa-sha256; cv=none; b=PDfYtPyc5q9vvGOrqlQbZwNW7Bu/yMyr8AgpYfsGv/C+0GDImMOc9GJfukBaq1lupna+H5 Y6zQvmhR1ta3qjznijc0eQSoDcw5YDMj+NlBnOidY3Bvqrynqc9yehkiFdud9PEtRJfpIB YGuLsFXiKNT6MR6N8dIlQMkUbIhgocxhVS+Znnr5AydPL0hz37K85cA34I2ETnOj0s7JBS zXTG/cAzKC0I4n7u0b0d2G+xVn1w6DpkoE3BOVwCRrFyhQDVoZnweqJz9Fzyi+0s8c9iAx iTFktEBqnqwBZBFDW30mP9lv/7B7zVvqZo/DVeCiQWyUJlSWlBC1fjBoUhGqHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717952586; 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=7+/u5hkj4+8OO9uQh7SiiO4ZtyhhY7Qni5w0a6ruf6Q=; b=hSdyrItNcxhMCnNJuM2m0NtcqAfIVqb7ea+WPWyZT5ratBpPWzaAoGxWO1MUzGShfCpuxX btit6i0sklPTsM1eRXFnubelMCLus/px5kPoo/NFYJQ5ANqCLvIdhokspPYku+13zSFr2v Ydoj9v2n70ohgD2uWi18bcgiYXswk4JGk3RPydU1jgmI1OAl/A2MtlLM239p0AnqrvLo5Z 03if2bK6SNT1zjIueaVp/6FNObhLWTpJ4qWIms19L0nkJWpETaJCbBKFP7DQI4p4CcbbkL R39FKuAsXhjhNMU7+tRDp87Hpsl2C9AKD0CrBv9uAArXZ/tO+nPlhDP1Q+ZIWA== 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 4Vy1Tj754Pzqj6; Sun, 9 Jun 2024 17:03:05 +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 459H353k075618; Sun, 9 Jun 2024 17:03:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 459H3533075615; Sun, 9 Jun 2024 17:03:05 GMT (envelope-from git) Date: Sun, 9 Jun 2024 17:03:05 GMT Message-Id: <202406091703.459H3533075615@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: b1e82630b4ab - stable/13 - libusbhid: add missing include guards List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b1e82630b4ab06950af40a96f1324f69ddbce8cc Auto-Submitted: auto-generated The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=b1e82630b4ab06950af40a96f1324f69ddbce8cc commit b1e82630b4ab06950af40a96f1324f69ddbce8cc Author: Andreas Kempe AuthorDate: 2022-07-10 20:51:48 +0000 Commit: Ed Maste CommitDate: 2024-06-09 17:02:41 +0000 libusbhid: add missing include guards PR: 265136 (cherry picked from commit 230efeda080f09bc282f50a7a4cfc337fd7c6d0d) (cherry picked from commit 7f0392e1c8a2832f045868b62f8840e73a2f21fa) --- lib/libusbhid/usbhid.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/libusbhid/usbhid.h b/lib/libusbhid/usbhid.h index 15d4f1613746..637fb3d846f7 100644 --- a/lib/libusbhid/usbhid.h +++ b/lib/libusbhid/usbhid.h @@ -29,6 +29,9 @@ * */ +#ifndef _USBHID_H_ +#define _USBHID_H_ + #include typedef struct report_desc *report_desc_t; @@ -111,3 +114,5 @@ int hid_set_report(int fd, enum hid_kind k, unsigned char *data, unsigned int size); __END_DECLS + +#endif /* !_USBHID_H_ */