~cyphermox/bluez/5.23

« back to all changes in this revision

Viewing changes to health/mcap.c

  • Committer: Package Import Robot
  • Author(s): Nobuhiro Iwamatsu
  • Date: 2012-01-24 05:35:09 UTC
  • mfrom: (1.5.11) (7.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20120124053509-uwpwqi783lz08wm3
Tags: 4.98-1
* New upstream release.
* Update debian/bluetooth-dbus.conf.
* Update debian/control.
  Add Multi-Arch: foreign to bluez.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 *
21
21
 */
22
22
 
23
 
#include "log.h"
24
 
#include "error.h"
25
 
 
26
23
#include <netinet/in.h>
27
24
#include <stdlib.h>
28
25
#include <errno.h>
29
26
#include <unistd.h>
30
27
 
31
 
#include "btio.h"
 
28
#include <glib.h>
 
29
 
32
30
#include <bluetooth/bluetooth.h>
33
31
#include <bluetooth/l2cap.h>
 
32
 
 
33
#include <btio.h>
 
34
#include <log.h>
 
35
#include <error.h>
 
36
 
34
37
#include "mcap.h"
35
38
#include "mcap_lib.h"
36
39
#include "mcap_internal.h"
2058
2061
        /* Initialize random seed to generate mdlids for this instance */
2059
2062
        srand(time(NULL));
2060
2063
 
2061
 
        return mcap_instance_ref(mi);;
 
2064
        return mcap_instance_ref(mi);
2062
2065
}
2063
2066
 
2064
2067
void mcap_release_instance(struct mcap_instance *mi)