Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2010 18:50:03 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-bluetooth@FreeBSD.org
Subject:   Re: kern/136386: commit references a PR
Message-ID:  <201009291850.o8TIo3s1060952@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/136386; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/136386: commit references a PR
Date: Wed, 29 Sep 2010 18:41:53 +0000 (UTC)

 Author: emax
 Date: Wed Sep 29 18:41:47 2010
 New Revision: 213276
 URL: http://svn.freebsd.org/changeset/base/213276
 
 Log:
   MFC Revision: 213042
   
   Add the following Linux BlueZ compatibility macros: htobs(), htobl(),
   btohs() and btohl()
   
   PR:		kern/136386
   Submitted by:	Monty Hall < kungfu_disciple at sbcglobal dot net >
 
 Modified:
   stable/8/lib/libbluetooth/bluetooth.h
 Directory Properties:
   stable/8/lib/libbluetooth/   (props changed)
 
 Modified: stable/8/lib/libbluetooth/bluetooth.h
 ==============================================================================
 --- stable/8/lib/libbluetooth/bluetooth.h	Wed Sep 29 14:46:57 2010	(r213275)
 +++ stable/8/lib/libbluetooth/bluetooth.h	Wed Sep 29 18:41:47 2010	(r213276)
 @@ -59,6 +59,10 @@ __BEGIN_DECLS
  #define	bacpy(dst, src)	memcpy((dst), (src), sizeof(bdaddr_t))
  #define ba2str(ba, str)	bt_ntoa((ba), (str))
  #define str2ba(str, ba)	(bt_aton((str), (ba)) == 1? 0 : -1)
 +#define htobs(d)	htole16(d)
 +#define htobl(d)	htole32(d)
 +#define btohs(d)	le16toh(d)
 +#define btohl(d)	le32toh(d)
  
  /*
   * Interface to the outside world
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009291850.o8TIo3s1060952>