Commit: 0743aa5a6f66e51df71e9579202915e09bfa19c4
Parent: cf00b35d294ca0c7e4f7866587daea9177dc0523
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-06-13 17:24:20
Tree: f9a5c25e54fdafba4d5d054c37299a516466079a

plugins: Use open()/read() instead of fopen()/fread() on autopair open()/read() is more common on BlueZ code. Incidentally, get rid of this compilation error (using gcc 4.6.3): plugins/autopair.c: In function ‘autopair_init’: plugins/autopair.c:154:8: error: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Werror=unused-result]

Diffstat

M plugins/autopair.c | 22 +++++++++++++++- - - - - - -

1 files changed, 15 insertions(+), 7 deletions(-)

View Full Diff | Patch