fix spurious const
[fw/altos] / debian / patches / 0001-altos-Remove-spurious-const-from-ao_state_names.patch
1 From bb9d071d328969fc3c544897f1fc96e55a842198 Mon Sep 17 00:00:00 2001
2 From: Keith Packard <keithp@keithp.com>
3 Date: Mon, 13 Aug 2018 17:43:57 -0700
4 Subject: [PATCH 01/13] altos: Remove spurious 'const' from ao_state_names
5
6 Current gcc complains about this.
7
8 Signed-off-by: Keith Packard <keithp@keithp.com>
9 ---
10  src/kernel/ao.h | 2 +-
11  1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/src/kernel/ao.h b/src/kernel/ao.h
14 index 2bd0e367..0a3981d7 100644
15 --- a/src/kernel/ao.h
16 +++ b/src/kernel/ao.h
17 @@ -662,7 +662,7 @@ ao_radio_init(void);
18  
19  #if HAS_MONITOR
20  
21 -extern const char const * const ao_state_names[];
22 +extern const char * const ao_state_names[];
23  
24  #define AO_MONITOR_RING        8
25  
26 -- 
27 2.19.0.rc1
28