git: 31b3e4f1b431 - main - atkbdc: Minor style nits
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Jun 2023 22:20:02 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=31b3e4f1b43133f5def754479911496187813d05
commit 31b3e4f1b43133f5def754479911496187813d05
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-06-28 18:00:46 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-06-28 22:18:47 +0000
atkbdc: Minor style nits
'char* ' -> 'char *', per style(9)
Sponsored by: Netflix
---
sys/dev/atkbdc/atkbdc.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sys/dev/atkbdc/atkbdc.c b/sys/dev/atkbdc/atkbdc.c
index f24c3d883351..9a8ab3397706 100644
--- a/sys/dev/atkbdc/atkbdc.c
+++ b/sys/dev/atkbdc/atkbdc.c
@@ -106,9 +106,9 @@ static int wait_for_aux_data(atkbdc_softc_t *kbdc);
static int wait_for_aux_ack(atkbdc_softc_t *kbdc);
struct atkbdc_quirks {
- const char* bios_vendor;
- const char* maker;
- const char* product;
+ const char *bios_vendor;
+ const char *maker;
+ const char *product;
int quirk;
};
@@ -129,9 +129,9 @@ static int
atkbdc_getquirks(void)
{
int i;
- char* bios_vendor = kern_getenv("smbios.bios.vendor");
- char* maker = kern_getenv("smbios.system.maker");
- char* product = kern_getenv("smbios.system.product");
+ char *bios_vendor = kern_getenv("smbios.bios.vendor");
+ char *maker = kern_getenv("smbios.system.maker");
+ char *product = kern_getenv("smbios.system.product");
for (i = 0; i < nitems(quirks); i++)
if (QUIRK_STR_MATCH(quirks[i].bios_vendor, bios_vendor) &&