summaryrefslogtreecommitdiff
path: root/src/profile.h
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2013-03-01 14:59:13 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2013-03-10 09:05:04 +0200
commit21723d6bfd76e4c5e5e89f553d0a78447372e6ef (patch)
tree45eec9a8a10ce36e9356b6e459fc938ef9b93842 /src/profile.h
parent48563e3d3ed04cd31432c076d5039e960167d865 (diff)
downloadbluez-21723d6bfd76e4c5e5e89f553d0a78447372e6ef.tar.gz
profile: Limit to one remote UUID per profile
The code can be considerably simplified by constraining struct btd_profile to one single remote UUID.
Diffstat (limited to 'src/profile.h')
-rw-r--r--src/profile.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/profile.h b/src/profile.h
index d858925d8..5d78b37e2 100644
--- a/src/profile.h
+++ b/src/profile.h
@@ -21,8 +21,6 @@
*
*/
-#define BTD_UUIDS(args...) ((const char *[]) { args, NULL } )
-
#define BTD_PROFILE_PRIORITY_LOW 0
#define BTD_PROFILE_PRIORITY_MEDIUM 1
#define BTD_PROFILE_PRIORITY_HIGH 2
@@ -32,7 +30,7 @@ struct btd_profile {
int priority;
const char *local_uuid;
- const char **remote_uuids;
+ const char *remote_uuid;
bool auto_connect;