diff options
author | Mikel Astiz <mikel.astiz@bmw-carit.de> | 2013-03-01 14:59:13 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-03-10 09:05:04 +0200 |
commit | 21723d6bfd76e4c5e5e89f553d0a78447372e6ef (patch) | |
tree | 45eec9a8a10ce36e9356b6e459fc938ef9b93842 /src/profile.h | |
parent | 48563e3d3ed04cd31432c076d5039e960167d865 (diff) | |
download | bluez-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.h | 4 |
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; |