Diff between 5d0fadf061dc0bb3249b53771c3ea4847dc4ee1a and af025403bd67fd1dfcc1bb952e44558d44090c7c

Changed Files

File Additions Deletions Status
src/main.c +5 -5 modified

Full Patch

diff --git a/src/main.c b/src/main.c
index 08393a9..fc50bbd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -77,7 +77,7 @@ static enum {
 	MPS_MULTIPLE,
 } mps = MPS_OFF;
 
-static const char * const supported_options[] = {
+static const char *supported_options[] = {
 	"Name",
 	"Class",
 	"DiscoverableTimeout",
@@ -94,7 +94,7 @@ static const char * const supported_options[] = {
 	NULL
 };
 
-static const char * const policy_options[] = {
+static const char *policy_options[] = {
 	"ReconnectUUIDs",
 	"ReconnectAttempts",
 	"ReconnectIntervals",
@@ -102,14 +102,14 @@ static const char * const policy_options[] = {
 	NULL
 };
 
-static const char * const gatt_options[] = {
+static const char *gatt_options[] = {
 	"Cache",
 	NULL
 };
 
 static const struct group_table {
 	const char *name;
-	const char * const *options;
+	const char **options;
 } valid_groups[] = {
 	{ "General",	supported_options },
 	{ "Policy",	policy_options },
@@ -190,7 +190,7 @@ static bt_gatt_cache_t parse_gatt_cache(const char *cache)
 }
 
 static void check_options(GKeyFile *config, const char *group,
-						const char * const *options)
+						const char **options)
 {
 	char **keys;
 	int i;