Skip to content

Commit a4158a3

Browse files
committed
Fix old-style function definition
1 parent 5cbecae commit a4158a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-module/usb_cdc/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,10 @@ size_t usb_vendor_descriptor_length(void) {
356356

357357
static uint8_t *ms_os_20_descriptor = NULL;
358358

359-
size_t vendor_ms_os_20_descriptor_length() {
359+
size_t vendor_ms_os_20_descriptor_length(void) {
360360
return ms_os_20_descriptor != NULL ? sizeof(ms_os_20_descriptor_template) : 0;
361361
}
362-
uint8_t const *vendor_ms_os_20_descriptor() {
362+
uint8_t const *vendor_ms_os_20_descriptor(void) {
363363
return ms_os_20_descriptor;
364364
}
365365

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy