Skip to content

Commit ad3f125

Browse files
committed
Fix compilation error, by adding extern keyword
1 parent d5c6956 commit ad3f125

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/device.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ enum capabilities {
2929
};
3030

3131
/// Long name of every capability
32-
const char* const capabilities_str[NUM_CAPABILITIES];
32+
extern const char* const capabilities_str[NUM_CAPABILITIES];
3333
/// Short name of every capability
34-
const char capabilities_str_short[NUM_CAPABILITIES];
34+
extern const char capabilities_str_short[NUM_CAPABILITIES];
3535

3636
struct capability_detail {
3737
// Usage page, only used when usageid is not 0; HID Protocol specific

0 commit comments

Comments
 (0)