summaryrefslogtreecommitdiff
path: root/debian/patches/0001-altos-Remove-spurious-const-from-ao_state_names.patch
blob: 84f09e00c80006e19310299acc311cedd10c1040 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From bb9d071d328969fc3c544897f1fc96e55a842198 Mon Sep 17 00:00:00 2001
From: Keith Packard <keithp@keithp.com>
Date: Mon, 13 Aug 2018 17:43:57 -0700
Subject: [PATCH 01/13] altos: Remove spurious 'const' from ao_state_names

Current gcc complains about this.

Signed-off-by: Keith Packard <keithp@keithp.com>
---
 src/kernel/ao.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/kernel/ao.h b/src/kernel/ao.h
index 2bd0e367..0a3981d7 100644
--- a/src/kernel/ao.h
+++ b/src/kernel/ao.h
@@ -662,7 +662,7 @@ ao_radio_init(void);
 
 #if HAS_MONITOR
 
-extern const char const * const ao_state_names[];
+extern const char * const ao_state_names[];
 
 #define AO_MONITOR_RING	8
 
-- 
2.19.0.rc1