From nobody Thu Jun 06 14:10:03 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 4Vw5nR4MsTz5MZYh; Thu, 06 Jun 2024 14:10:03 +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 4Vw5nR3LR4z44PN; Thu, 6 Jun 2024 14:10:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717683003; 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=50ejHChO1pVdq/EYRQ55aXSKbB9basW6R3eJY/YBpfY=; b=tsc8bEswVt5SZlq2Az5gdaI0X6zrZCHxYeD8tiVOzmHb594YynJTUv7gXsyxNlRxFP/Pil 4nHei2TIwlEEdd/RLSC7/PRz+rIpLRJGIHbIDDXk6X5XfSL9F7H0jceMElTpRNXmVBmFSh iIhHeJvbdUE9UsZtEkOZrV5ypDlLbqerbDSBymn1YQNS0KXk/Xc8rBAEAdpDn5v6d8qbvW eOw2EYubw5k0mRDBcmCThsXnnICnKvXwIC3QZP+1vhrpE8QVTJIX2hGV3XYDpS4Ce44cyF vid+Tjpou/khmFGqI8QBRB/0vYGPDP7bFQkQbZNsotzk5Gq7UWXMH0QmNcwB8A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717683003; a=rsa-sha256; cv=none; b=r/qBBKH7drVOoIQPodoJD48xvth+4gwOzcR6yI3gDu5h1e3HnhIlPPeY3LkfZROVdMDUDW 6eWiAknvsjoVrZ0n+cIIdc8HgMtoyB2iU5eDrr/kIOUh1wyITPbi7gjl1gMlhD1okERNPw kirgHr8tI7hadq1PX6otpHtd7iF6z6gHxUTmvgfSfLb3y49mnlkkQV3Z9XyS6q6yk3UrOQ G3rpJjG0f2OOTZi9lvTmlfBdCYNNkcTCSzTIvz1bis6/5EsFZmGinE6GTLBH9kq22YWmXN bmRBRa/CTIZxBNcQMGPEBocw2PKLmKfM9XS9lw87fhmAMGPO4IjQFPXlwwY5xg== 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=1717683003; 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=50ejHChO1pVdq/EYRQ55aXSKbB9basW6R3eJY/YBpfY=; b=lZBfYGDBBY+/KR+JnUjVJJXhs3mL2/OA8jilZxYY7Bo8BIrfkwYizQEhiEmHxdCU+GeWKf 6JRaiCl1cz5V1yehXDB98sbcl70cInPhe5O5mpyFghDIaRw/t6IlPQri92uK/YxT9haRWh 7n2lKXNZCtmo5jiwj755l1QWvZCujdtFhHRPMKR+SQg3HYdhUQgeRCoHiOla5+T/8cMO9/ BEgYGmMSdcoG7LB4nCvr6m06YXt7zgOvPMYkvYvsKS4qkeJff2I5plZL/MwrMdNY/Qpb5w d7hb8hnF36tCVaibW6VsHX5uV164mXIRge1VuwJ76WUa0PbxAUM+EPf/QBSRlQ== 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 4Vw5nR2xf9zpj4; Thu, 6 Jun 2024 14:10:03 +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 456EA3Ok047919; Thu, 6 Jun 2024 14:10:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 456EA3q7047914; Thu, 6 Jun 2024 14:10:03 GMT (envelope-from git) Date: Thu, 6 Jun 2024 14:10:03 GMT Message-Id: <202406061410.456EA3q7047914@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 230efeda080f - main - 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/main X-Git-Reftype: branch X-Git-Commit: 230efeda080f09bc282f50a7a4cfc337fd7c6d0d Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=230efeda080f09bc282f50a7a4cfc337fd7c6d0d commit 230efeda080f09bc282f50a7a4cfc337fd7c6d0d Author: Andreas Kempe AuthorDate: 2022-07-10 20:51:48 +0000 Commit: Ed Maste CommitDate: 2024-06-06 14:09:05 +0000 libusbhid: add missing include guards PR: 265136 --- 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_ */