aboutsummaryrefslogtreecommitdiffstats
path: root/binding/afm-common.h
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2021-03-01 18:33:22 -0500
committerScott Murray <scott.murray@konsulko.com>2021-03-01 18:41:58 -0500
commitc35df4e8bcbc0b2de1b6cafe898b5d62b8eef40f (patch)
treed7f1b00f5f14d6ae29e1a5171a869cc31492576e /binding/afm-common.h
parent46ddd8335119ededf850b20b6d9be9d035a8d8f2 (diff)
Fix building with gcc 10
Fix up the mix of explicit and automatic array sizes that gcc 10 now complains about. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iea2b7802618bf6537e96e59bd035ca4b91597642
Diffstat (limited to 'binding/afm-common.h')
-rw-r--r--binding/afm-common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/binding/afm-common.h b/binding/afm-common.h
index 0439aa9..56c8f8f 100644
--- a/binding/afm-common.h
+++ b/binding/afm-common.h
@@ -53,8 +53,8 @@ enum {
NUM_CMDS
};
-const char *avrcp_control_commands[NUM_CMDS];
-const char *gstreamer_control_commands[NUM_CMDS];
+extern const char *avrcp_control_commands[NUM_CMDS];
+extern const char *gstreamer_control_commands[NUM_CMDS];
int get_command_index(const char *name);
GList *find_media_index(GList *list, long int index);
void g_free_playlist_item(void *ptr);