Skip to content

Commit

Permalink
-Wpedantic ISO C forbids forward references to 'enum' types
Browse files Browse the repository at this point in the history
  • Loading branch information
perigoso authored and rg-silva committed Jul 28, 2023
1 parent 8e9531d commit 02f2db1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/platform/common/usb_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#ifndef PLATFORM_COMMON_USB_TYPES_H
#define PLATFORM_COMMON_USB_TYPES_H

#include <libopencm3/usb/dfu.h>

typedef struct usb_device_descriptor usb_device_descriptor_s;
typedef struct usb_config_descriptor usb_config_descriptor_s;
typedef struct usb_interface_descriptor usb_interface_descriptor_s;
Expand Down

0 comments on commit 02f2db1

Please sign in to comment.