iwinfo: constify string map arg for rpc_iwinfo_call_int()
authorAndre Heider <a.heider@gmail.com>
Sat, 26 Nov 2022 15:15:16 +0000 (16:15 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 15 Dec 2022 23:21:56 +0000 (00:21 +0100)
Fixes the build since the string maps have been constified.

iwinfo.c

index 38484c803a00f931eddd5a67a2e48dc4e9f16ea5..a4d8ec666a8a0e7a3a4652a84b301babceaaf88c 100644 (file)
--- a/iwinfo.c
+++ b/iwinfo.c
@@ -96,7 +96,7 @@ rpc_iwinfo_close(void)
 
 static void
 rpc_iwinfo_call_int(const char *name, int (*func)(const char *, int *),
-                    const char **map)
+                    const char * const *map)
 {
        int rv;