From b1a10a46b1cdeb034823b83c993836b0dce3ed06 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 13 Nov 2006 07:38:20 +0000 Subject: Cleanup SDP XML support --- common/sdp-xml.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'common/sdp-xml.c') diff --git a/common/sdp-xml.c b/common/sdp-xml.c index 5c6dd877..ee5601ee 100644 --- a/common/sdp-xml.c +++ b/common/sdp-xml.c @@ -2,7 +2,7 @@ * * BlueZ - Bluetooth protocol stack for Linux * - * Copyright (C) 2004-2006 Marcel Holtmann + * Copyright (C) 2005-2006 Marcel Holtmann * * * This program is free software; you can redistribute it and/or modify @@ -25,20 +25,23 @@ #include #endif -#include "sdp-xml.h" - #include -#include -#include +#include +#include #include +#include #include +#include +#include + +#include "sdp-xml.h" + #define STRBUFSIZE 256 #define MAXINDENT 64 static void convert_raw_data_to_xml(sdp_data_t *value, int indent_level, - void *data, - void (*appender) (void *, const char *)) + void *data, void (*appender) (void *, const char *)) { int i, hex; char buf[STRBUFSIZE]; @@ -381,8 +384,7 @@ static void convert_raw_attr_to_xml_func(void *val, void *data) (containing parts of the generated XML) to append. */ void convert_sdp_record_to_xml(sdp_record_t *rec, - void *data, - void (*appender) (void *, const char *)) + void *data, void (*appender) (void *, const char *)) { struct conversion_data cd; @@ -397,4 +399,3 @@ void convert_sdp_record_to_xml(sdp_record_t *rec, appender(data, "\n"); } } - -- cgit